[wp-trac] [WordPress Trac] #50997: Block Editor showing blank in WordPress 5.5

WordPress Trac noreply at wordpress.org
Mon Mar 28 09:50:01 UTC 2022


#50997: Block Editor showing blank in WordPress 5.5
--------------------------+-----------------------
 Reporter:  david-woakes  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:
Component:  Editor        |     Version:  5.5
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+-----------------------

Comment (by jornfranke):

 Replying to [comment:3 johnxba]:
 > "Uncaught EvalError: call to Function() blocked by CSP" is Firefox
 complaining (F12) about the use of eval in scripts. Eval must not be used
 in scripts because it is a security risk. CSP (Content Security Policy)
 can be used to enforce protection.
 > [https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-
 Security-Policy]
 >
 > Why eval should not be used in Javascript:
 [https://developer.mozilla.org/en-
 US/docs/Web/JavaScript/Reference/Global_Objects/eval]
 >
 > The error appears when wp-admin is used and an admin is logged in. In
 the current version of WordPress, two of the scripts containing eval
 according to Firefox are:
 > wp-includes/js/wp-util.min.js?ver=5.8:2
 > wp-includes/js/underscore.min.js?ver=1.8.3:2
 >
 > Please remove the use of eval in scripts in WordPress.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50997#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list