[wp-trac] [WordPress Trac] #44937: Add _doing_it_wrong to load_plugin_textdomain
WordPress Trac
noreply at wordpress.org
Fri Oct 18 10:02:11 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 Kau-Boy):
@LeonidasMilossis I was a big supporter of this change.
It was also mentioned in a comment 9 years ago, that translation should
only be loaded after `init`:
https://developer.wordpress.org/reference/functions/load_plugin_textdomain/#comment-1568
Still, I also have plugin with that notice now, I help to maintain :(
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44937#comment:52>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list