[wp-trac] [WordPress Trac] #63185: Function _load_textdomain_just_in_time was called incorrectly in WP v6.8-RC1

WordPress Trac noreply at wordpress.org
Tue Apr 22 01:13:46 UTC 2025


#63185: Function _load_textdomain_just_in_time was called incorrectly in WP
v6.8-RC1
---------------------------+-----------------------
 Reporter:  jorgedelcampo  |       Owner:  (none)
     Type:  defect (bug)   |      Status:  reopened
 Priority:  normal         |   Milestone:
Component:  I18N           |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+-----------------------

Comment (by kevinB):

 @sc0ttkclark It seems that previously, any early plugin translation calls
 were quietly ignored as long as the plugin did not also load the
 textdomain too early. But now, Core's early auto-registration of the
 textdomain makes those same calls problematic. Is this an intentional move
 to flush out the mistimed plugin translation calls? If not, what is the
 rationale for loading the textdomain before it is allowed to be used?

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


More information about the wp-trac mailing list