[wp-trac] [WordPress Trac] #62547: Notice for _load_textdomain_just_in_time despite correct use of init hook

WordPress Trac noreply at wordpress.org
Sat Nov 30 10:11:20 UTC 2024


#62547: Notice for _load_textdomain_just_in_time despite correct use of init hook
-----------------------------+-------------------------
 Reporter:  markhowellsmead  |       Owner:  swissspidy
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  I18N             |     Version:  trunk
 Severity:  normal           |  Resolution:  worksforme
 Keywords:                   |     Focuses:
-----------------------------+-------------------------

Comment (by markhowellsmead):

 That code never ran, so I guess that the notice was being generated before
 the actions were fired. I traced it back to a call to `get_plugin_data`
 being called on a class constructor; presumably, therefore, too early.

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


More information about the wp-trac mailing list