[wp-trac] [WordPress Trac] #55628: Numerous console errors on Theme/Plugin File Editor screens and syntax highlighting not working
WordPress Trac
noreply at wordpress.org
Mon May 2 12:29:05 UTC 2022
#55628: Numerous console errors on Theme/Plugin File Editor screens and syntax
highlighting not working
---------------------------------------+-------------------------
Reporter: ndiego | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.0
Component: Script Loader | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch needs-testing | Focuses: javascript
---------------------------------------+-------------------------
Comment (by jsnajdr):
> Another instance of this issue seems to be `wp-util.js` which uses
Lodash
Update: this script seems to be fine. `_` is undefined only because an
earlier load of `load-scripts.php?load=common,underscore` failed when
executing the `common` code, and never got to execute and initialize
`underscore`. That's the only reason why a later `_.memoize` call fails.
The only bug is the missing `wp-i18n` dependency in `common`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55628#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list