[wp-trac] [WordPress Trac] #44937: Add _doing_it_wrong to load_plugin_textdomain
WordPress Trac
noreply at wordpress.org
Tue Oct 22 12:54:59 UTC 2024
#44937: Add _doing_it_wrong to load_plugin_textdomain
--------------------------------------+-------------------------
Reporter: garrett-eclipse | Owner: swissspidy
Type: enhancement | Status: reopened
Priority: normal | Milestone: 6.7
Component: I18N | Version: 4.7
Severity: normal | Resolution:
Keywords: has-patch needs-dev-note | Focuses:
--------------------------------------+-------------------------
Changes (by bobbingwide):
* status: closed => reopened
* resolution: fixed =>
Comment:
I've just been debugging this problem with my plugin oik-bwtrace.
My code was performing translations for trace records being written for an
MU plugin.
I've resolved my particular issue for that plugin but have 3 messages from
other plugins and themes to deal with as well - WooCommerce, WordPress SEO
and a Genesis child theme.
My notes are documented starting here
https://github.com/bobbingwide/bobbingwide/issues/122#issuecomment-2428741144
During the debugging I noticed that the code that issues the message
checks for `after_setup_theme` but the Notice refers to `init`.
This seems to be inconsistent. Which hook should it be?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44937#comment:54>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list