As per Refused to execute a JavaScript script. Source code of script found within request, I would like to send this code with pages of my WordPress site:
<?php header("X-XSS-Protection: 0");?>
Where do I put it?
As per Refused to execute a JavaScript script. Source code of script found within request, I would like to send this code with pages of my WordPress site:
<?php header("X-XSS-Protection: 0");?>
Where do I put it?
You must be logged in to post a comment.
You can it to the top of the index.php in the wordpress docroot. You need to modify the header before ANY content is sent.
If you update your site with a new worpress version you could lose this change. Just be aware.