[wp-trac] [WordPress Trac] #44937: Add _doing_it_wrong to load_plugin_textdomain
WordPress Trac
noreply at wordpress.org
Thu Sep 13 08:02:46 UTC 2018
#44937: Add _doing_it_wrong to load_plugin_textdomain
-----------------------------+------------------------------
Reporter: garrett-eclipse | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version: 4.7
Severity: normal | Resolution:
Keywords: 2nd-opinion | Focuses:
-----------------------------+------------------------------
Comment (by Kau-Boy):
I think this warning is a great idea. I wrote a plugin to overwrite some
strings and it always fails, when the plugin just calls the
`load_plugin_textdomain` function outside of an action callback.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44937#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list