[wp-trac] [WordPress Trac] #64401: Function _load_textdomain_just_in_time was called incorrectly

WordPress Trac noreply at wordpress.org
Thu Dec 11 11:43:49 UTC 2025


#64401: Function _load_textdomain_just_in_time was called incorrectly
--------------------------+----------------------
 Reporter:  arifursdev    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  I18N          |     Version:  6.7
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------

Comment (by arifursdev):

 Replying to [comment:1 swissspidy]:
 > The code you shared does **not** cause any warning by itself, so there
 is something else going on. For example a call to `__()` on an earlier
 hook, or some other plugin interfering with yours.

 Well It seems `translate` functions are running and trying to load the
 translations before init, when the function is somewhere used before
 loading the translation.


 > Try turning off WP_DEBUG.
 I know but I would like to log others errors and warnings, not notices.

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


More information about the wp-trac mailing list