[wp-trac] [WordPress Trac] #45111: Integrate Jed-formatted localization data

WordPress Trac noreply at wordpress.org
Fri Oct 19 03:24:30 UTC 2018


#45111: Integrate Jed-formatted localization data
----------------------------------------+---------------------
 Reporter:  desrosj                     |       Owner:  (none)
     Type:  task (blessed)              |      Status:  new
 Priority:  normal                      |   Milestone:  5.0
Component:  I18N                        |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  needs-unit-tests has-patch  |     Focuses:
----------------------------------------+---------------------
Changes (by desrosj):

 * keywords:  needs-patch needs-unit-tests => needs-unit-tests has-patch


Comment:

 There are currently no tests for this function in the plugin.

 This
 [https://github.com/WordPress/gutenberg/blob/8f205dc94e28c533b92c2f6713dbe4f4c7b309d5/lib
 /client-assets.php#L1378 function is called once] in `lib/client-
 assets.php`.

 I believe the new, correct implementation when merging to core would be
 `wp_get_jed_locale_data( 'default' )`, as the `gutenberg` text domain will
 no longer exist.

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


More information about the wp-trac mailing list