[wp-trac] [WordPress Trac] #44937: Add _doing_it_wrong to load_plugin_textdomain
WordPress Trac
noreply at wordpress.org
Wed Oct 2 09:39:47 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 SergeyBiryukov):
@swissspidy [59127] looks good to me, but it seems a little confusing that
the action mentioned is `after_setup_theme`, while the message refers to
setting up the current user. Should we perhaps check for the
`set_current_user` action instead?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44937#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list