[wp-trac] [WordPress Trac] #62462: Revert _doing_it_wrong warning when loading translations early
WordPress Trac
noreply at wordpress.org
Wed Nov 20 07:45:15 UTC 2024
#62462: Revert _doing_it_wrong warning when loading translations early
-------------------------------+---------------------
Reporter: TimothyBlynJacobs | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.7.1
Component: I18N | Version: 6.7
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------------+---------------------
Comment (by danielhuesken):
When you don't use the `load_plugin_textdomain()` in the plugin and use an
translations function "early" it will autoload the translation from core
and trigger the `doing_it_wrong_trigger_error`.
So maybe the core function should also not load translations too early.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62462#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list