Warning in WP 6.7 (RC1)
-
Hi,
In the upcoming WP 6.7 (currently in RC) a PHP notice is thrown if
load_plugin_textdomain()
is not loaded in theinit
hook:Notice: Function load_plugin_textdomain was called incorrectly. Attempted to load translations for the booking domain 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 6099
More info here: https://make.www.ads-software.com/core/2024/10/21/i18n-improvements-6-7/
To see the warning, add
define('WP_DEBUG', true);
to yourwp-config.php
file.Could you fix this? Thanks!
- You must be logged in to reply to this topic.