[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 9 00:02:04 UTC 2022


#55628: Numerous console errors on Theme/Plugin File Editor screens and syntax
highlighting not working
-------------------------------------------------+-------------------------
 Reporter:  ndiego                               |       Owner:
                                                 |  peterwilsoncc
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.0
Component:  Script Loader                        |     Version:  trunk
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests dev-        |     Focuses:  javascript
  reviewed fixed-major                           |
-------------------------------------------------+-------------------------

Comment (by peterwilsoncc):

 In [changeset:"53367" 53367]:
 {{{
 #!CommitTicketReference repository="" revision="53367"
 Script Loader: Fix i18n edge case breaking dependencies.

 Prevent concatenation of scripts if the text domain is defined to ensure
 the dependency order is respected.

 This accounts for an edge case in which replacing a core script via a
 plugin and a lack of translations (eg, for a US English site) could cause
 the JavaScript files to be ordered incorrectly.

 Follow up to [52937].

 Props audrasjb, boniu91, chaion07, costdev, hellofromtonya, jsnajdr,
 mukesh27, ndiego, ugyensupport, SergeyBiryukov.
 Merges [53360,53366] to the 6.0 branch.
 Fixes #55628.
 }}}

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


More information about the wp-trac mailing list