[wp-trac] [WordPress Trac] #50235: wp-admin/js/updates.js: Use wp.i18n for JavaScript translations

WordPress Trac noreply at wordpress.org
Mon Jun 1 21:48:14 UTC 2020


#50235: wp-admin/js/updates.js: Use wp.i18n for JavaScript translations
-------------------------+-------------------------
 Reporter:  ocean90      |       Owner:  ocean90
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  5.5
Component:  I18N         |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:  javascript
-------------------------+-------------------------

Comment (by aduth):

 Am I correct in thinking that the script registration should have been
 updated to include `wp-i18n` as a dependency of the `updates` script
 handle?

 https://github.com/WordPress/wordpress-develop/blob/9bea5b34/src/wp-
 includes/script-loader.php#L1436

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


More information about the wp-trac mailing list