Warning in WP 6.7 (RC1)

[ad_1]

Hi,

In the upcoming WP 6.7 (currently in RC) a PHP notice is thrown if load_plugin_textdomain() is not loaded in the init 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.projectdmc.org/core/2024/10/21/i18n-improvements-6-7/

To see the warning, add define('WP_DEBUG', true); to your wp-config.php file.

Could you fix this? Thanks!

  • This topic was modified 9 hours, 30 minutes ago by leemon.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer