[wp-trac] [WordPress Trac] #44937: Add _doing_it_wrong to load_plugin_textdomain

WordPress Trac noreply at wordpress.org
Fri Oct 18 10:24:56 UTC 2024


#44937: Add _doing_it_wrong to load_plugin_textdomain
--------------------------------------+-------------------------
 Reporter:  garrett-eclipse           |       Owner:  swissspidy
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  6.7
Component:  I18N                      |     Version:  4.7
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch needs-dev-note  |     Focuses:
--------------------------------------+-------------------------

Comment (by LeonidasMilossis):

 Replying to [comment:52 Kau-Boy]:
 > It was also mentioned in a comment 9 years ago, that translation should
 only be loaded after `init`:
 I'm afraid that our incorrect usage comes from even further back than 9
 years. But yeah, we have to decouple from it at ''some'' point.

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


More information about the wp-trac mailing list