Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #50997, comment 3


Ignore:
Timestamp:
07/23/2021 12:17:19 AM (3 years ago)
Author:
johnxba
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #50997, comment 3

    v1 v2  
    44Why eval should not be used in Javascript: [https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval]
    55
    6 The error appears when wp-admin is used and an admin is logged in. In the current version of WordPress, one script containing eval according to Firefox is:
    7 wp-util.min.js?ver=5.8:2
     6The 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:
     7wp-includes/js/wp-util.min.js?ver=5.8:2
     8wp-includes/js/underscore.min.js?ver=1.8.3:2
    89
    910Please remove the use of eval in scripts in WordPress.