the-seo-framework
the-seo-framework copied to clipboard
Warning in a site running WP 6.7 beta1
Describe the bug
The following warning appears when trying your plugin in WP 6.7 beta1:
Notice: Function load_plugin_textdomain was called incorrectly. Attempted to load translations for the autodescription domain too early. Translations should be loaded after the after_setup_theme action has fired, to ensure that the current user is already set up. Please see [Debugging in WordPress](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/) for more information. (This message was added in version 6.7.0.) in xxxxxxxxxx\wp-includes\functions.php on line 6099
How to reproduce the bug Steps to reproduce the behavior:
- Install WordPress Beta Tester plugin in a site running WP 6.7 beta1
- Add
define( 'WP_DEBUG', true );
to thewp-config.php
file - Bug occurs.
Expected behavior No warning