[wp-trac] [WordPress Trac] #58848: `wp_set_script_translations` only sets translations for the default language

WordPress Trac noreply at wordpress.org
Wed Jul 19 10:47:21 UTC 2023


#58848: `wp_set_script_translations` only sets translations for the default
language
--------------------------+-----------------------------
 Reporter:  dathix        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  I18N          |    Version:  6.2
 Severity:  major         |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 With effect of the last update to version >=6.2
 `wp_set_script_translations` stopped working correctly and now only sets
 translations for the default language. This may be caused by some
 improvements to i18n in the last release
 ([https://make.wordpress.org/core/2023/03/03/i18n-improvements-in-6-2/]).
 Rollback to 6.1.3 fixed this issue.

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


More information about the wp-trac mailing list