content security policy is blocking java script
-
I am trying to make a WordPress site more secure by adding a CSP. I added this line: Header add Content-Security-Policy “default-src ‘self'” to my .htaccess file. This works for passing the Mozilla observatory, but it blocks java script in a few places. Some things are minor, like the hover features on the dashboard menu. Some are much more important, like my custom login and features in my theme and plugins. The plugin most affected is WP Bakery Page Builder. Could someone help me understand how to create CSP that allows java to run correctly?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘content security policy is blocking java script’ is closed to new replies.