• A new PHP Notice appears to have popped up with WordPress core v6.7+

    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet 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 /code/web/wp/wp-includes/functions.php on line 6114

    The load_plugin_textdomain should probably be called in init and not plugins_loaded as plugins_loaded is before init and is too early for loading translations.

    https://developer.ww.wp.xz.cn/reference/hooks/plugins_loaded/

    You can hide the notice by setting WP_DEBUG=false and WP_DEBUG_DISPLAY=false.

The topic ‘_load_textdomain_just_in_time function was called incorrectly’ is closed to new replies.