[wp-trac] [WordPress Trac] #62462: Revert _doing_it_wrong warning when loading translations early

WordPress Trac noreply at wordpress.org
Wed Nov 20 21:29:19 UTC 2024


#62462: Revert _doing_it_wrong warning when loading translations early
-------------------------------+---------------------
 Reporter:  TimothyBlynJacobs  |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  6.7.2
Component:  I18N               |     Version:  6.7
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+---------------------

Comment (by swissspidy):

 @TimothyBlynJacobs Have you tried simply calling load_textdomain() for
 your domain if you need it early? Not at the computer right now, but that
 should load the translation without any warnings.

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


More information about the wp-trac mailing list