Skip to content

Conversation

@hykw
Copy link
Contributor

@hykw hykw commented Dec 23, 2024

WordPress 6.7 and later has begun displaying the following warning. I found that delaying the load from plugins_loaded timing resolves the issue.

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the multi-device-switcher domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in xxxxx/wp-includes/functions.php on line 6114

c.f.
https://core.trac.wordpress.org/ticket/62462

@thingsym thingsym merged commit a200e61 into thingsym:master Jan 15, 2025
2 of 18 checks passed
@hykw hykw deleted the corresponding_doing_it_wrong_notice branch January 21, 2025 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants