[wp-trac] [WordPress Trac] #50527: Use wp.i18n for translatable strings in wp-admin/js/user-profile.js

WordPress Trac noreply at wordpress.org
Wed Jul 1 20:33:13 UTC 2020


#50527: Use wp.i18n for translatable strings in wp-admin/js/user-profile.js
-------------------------+-----------------------
 Reporter:  ocean90      |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  5.5
Component:  I18N         |    Version:
 Severity:  normal       |   Keywords:  has-patch
  Focuses:  javascript   |
-------------------------+-----------------------
 We should replace the use of `wp_localize_script()` with the proper
 JavaScript i18n functions introduced in WordPress 5.0, see #20491 and
 #45103. This ticket is for `wp-admin/js/user-profile.js`.


 Previously: #50235, #50525, #50526

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


More information about the wp-trac mailing list