[wp-trac] [WordPress Trac] #51498: Use wp.i18n for translatable strings in wp-admin/js/dashboard.js

WordPress Trac noreply at wordpress.org
Wed Oct 14 21:11:25 UTC 2020


#51498: Use wp.i18n for translatable strings in wp-admin/js/dashboard.js
-------------------------+----------------------
 Reporter:  ocean90      |       Owner:  ocean90
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  5.6
Component:  I18N         |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:
-------------------------+----------------------
Changes (by ocean90):

 * owner:  (none) => ocean90
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"49151" 49151]:
 {{{
 #!CommitTicketReference repository="" revision="49151"
 I18N: Use `wp.i18n` for translatable strings in `wp-
 admin/js/dashboard.js`.

 * Deprecate the `l10n` property on `communityEventsData`.
 * Introduce `version` parameter for `deprecateL10nObject` and backfill the
 version for deprecated objects in 5.5.0.
 * Add a noop version of `deprecateL10nObject` for QUnit testing.

 Fixes #51498.
 }}}

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


More information about the wp-trac mailing list