Opened 7 years ago
Closed 6 years ago
#45111 closed task (blessed) (wontfix)
Integrate Jed-formatted localization data
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | I18N | Keywords: | |
Focuses: | Cc: |
Description
In gutenberglib/i18n.php there is a function for returning Jed-formatted localization data. This should exist in WordPress Core.
Attachments (1)
Change History (11)
This ticket was mentioned in Slack in #meta by ocean90. View the logs.
7 years ago
#7
@
6 years ago
- Keywords revert added; fixed-5.0 removed
With wp_set_script_translations()
wp_get_jed_locale_data()
no longer necessary and thus should be reverted.
cc: @herregroen
Note: See
TracTickets for help on using
tickets.
There are currently no tests for this function in the plugin.
This 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 thegutenberg
text domain will no longer exist.