[wp-trac] [WordPress Trac] #62337: i18n: Translation is not applied in load_theme_textdomain() function

WordPress Trac noreply at wordpress.org
Mon Nov 18 13:52:54 UTC 2024


#62337: i18n: Translation is not applied in load_theme_textdomain() function
--------------------------------------+-------------------------
 Reporter:  wildworks                 |       Owner:  swissspidy
     Type:  defect (bug)              |      Status:  reviewing
 Priority:  normal                    |   Milestone:  6.7.1
Component:  I18N                      |     Version:  6.7
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-------------------------

Comment (by timwhitlock):

 It's taken me a few days to fully appreciate the impact of this.

 I'm advising my plugin users to roll back to 6.6 and wait for 6.7.1. In
 the mean time, any components that use translations too early need to be
 identified and fixed

 https://wordpress.org/support/topic/wordpress-6-7-major-issue-loading-
 custom-translation-files/

 It would have been helpful if the early loading notice (which is great)
 had been introduced some versions prior to the sudden change in
 load_*_textdomain, but that's the benefit of hindsight. The relationship
 between premature JIT loads, and explicit loading of custom translation
 paths was probably not obvious.

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


More information about the wp-trac mailing list