[wp-trac] [WordPress Trac] #51317: Remove deprecated JavaScript i18n globals

WordPress Trac noreply at wordpress.org
Wed Sep 16 00:35:58 UTC 2020


#51317: Remove deprecated JavaScript i18n globals
----------------------------+----------------------------
 Reporter:  SergeyBiryukov  |      Owner:  (none)
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Future Release
Component:  Script Loader   |    Version:  5.5.1
 Severity:  normal          |   Keywords:  5.7-early
  Focuses:  javascript      |
----------------------------+----------------------------
 Background: #51123

 [48923] added backward compatibility for JavaScript i18n globals and
 properties deprecated in WordPress 5.5.

 Per the corresponding [https://make.wordpress.org/core/2020/09/01
 /deprecated-javascript-globals/ dev note on make/core], the plan is to
 remove this fallback code in two major versions, so it should be deleted
 in WordPress 5.7. This gives plugin and theme developers ample time to
 remove the conflicting code and switch to using `wp.i18n`.

 This ticket serves as a reminder to address this in 5.7.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51317>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list