[wp-trac] [WordPress Trac] #51123: commonL10n and other JS globals removed without backwards compatibility

WordPress Trac noreply at wordpress.org
Sun Aug 30 01:06:57 UTC 2020


#51123: commonL10n and other JS globals removed without backwards compatibility
--------------------------------------+-------------------------
 Reporter:  kbjohnson90               |       Owner:  ocean90
     Type:  defect (bug)              |      Status:  reviewing
 Priority:  normal                    |   Milestone:  5.5.1
Component:  Script Loader             |     Version:  5.5
 Severity:  normal                    |  Resolution:
 Keywords:  needs-dev-note has-patch  |     Focuses:  javascript
--------------------------------------+-------------------------

Comment (by peterwilsoncc):

 Yeah, the performance consideration is fair enough and something I started
 to wonder as I moved toward finishing the patch but I figured I'd share
 it.

 [attachment:"51123.2.diff"] can be discarded as an interesting experiment.

 As [attachment:"51123.diff"] is built upon the following will need to be
 done:
 * `window.tagsl10n` renamed `window.tagsSuggestL10n`
 * `wpWidgets.l10n` will need to be added
 * further work as mentioned above.

 Thanks for reviewing @ocean90

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


More information about the wp-trac mailing list