karthik7700
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Fixing WordPress
In reply to: script-src, unsafe-eval in CSP and editorsPlease see these images and give some suggestions to solve this issue.
https://snipboard.io/DKAQT9.jpg
https://snipboard.io/IDncXg.jpg
https://snipboard.io/Mk7D2p.jpg
Forum: Fixing WordPress
In reply to: script-src, unsafe-eval in CSP and editors- I dont have any MU plugins installed.
- Are you able to see CSP in Response headers when you click “Add New” in “Page” tab?
- In my case I was unable to see CSP in Response header as it was not enabled and error was also not there and page was opening.
- I am using wamp server, so to enable it I opened hhtp.conf (C:\wamp\bin\apache\apache2.4.41\conf\httpd.conf) and uncommented the line “LoadModule headers_module modules/mod_headers.so“.
- So from then I am able to see CSP in Response Header when I click “Add New” in “Page” tab and error is also getting generated and there is blank white page.
Forum: Fixing WordPress
In reply to: script-src, unsafe-eval in CSP and editorsThe function call “new Function( ‘r,s,a’, fn )” in the function combineReducers( reducers ) of data.js file (You can refer line no. 487 in the below link for error line “return new Function( ‘r,s,a’, fn )” https://github.com/WordPress/WordPress/blob/master/wp-includes/js/dist/data.js )is causing the issue.
if ‘unsafe-eval’ is present in CSP, “new Function( ‘r,s,a’, fn )” is executing properly and there will be no error.
Forum: Fixing WordPress
In reply to: script-src, unsafe-eval in CSP and editorsEven after doing that the issue still persists.
Viewing 4 replies - 1 through 4 (of 4 total)