[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
Fri May 6 05:37:21 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:  has-patch has-unit-tests  |     Focuses:  javascript
--------------------------------------+-------------------------

Comment (by peterwilsoncc):

 Testing [https://github.com/WordPress/wordpress-develop/pull/2678 PR
 #2678] and the fix looks suitable to me. I've put a couple of notes on the
 pull request but they're both in the tests file.

 == Testing notes ==

 === Environment ===

 WP: Trunk
 Gutenberg: 13.1.0
 Language: US English

 === Reproduction steps ===

 Per [comment:9 comment #9] above.

 Note: On a French install this didn't work, it must be US English.

 === With patch applied ===

 * Unable to reproduce
 * Code highlighting was displayed as expected.
 * The patch does increase the number of JS files by four but that reverts
 to the 5.9 baseline for the number of JS files.

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


More information about the wp-trac mailing list