Translation loading warning since WordPress 6.7
-
Hi,
After installing the WP User Manager plugin (v2.9.12) on a clean WordPress 6.7+ installation, I’m encountering the following warning:
Notice: Function _load_textdomain_just_in_time was called incorrectly.
Translation loading for the wp-user-manager 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 /wp-includes/functions.php on line 6121Additionally, this triggers:
Warning: Cannot modify header information - headers already sent by…This seems to happen because the plugin is loading its text domain before
init, which is now discouraged by WordPress core. Would it be possible to delay theload_plugin_textdomain()call to run within aninithook to avoid this issue?Thanks in advance for your support and for maintaining this great plugin!
Best regards
The topic ‘Translation loading warning since WordPress 6.7’ is closed to new replies.