-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
The following error exception occurs after updating to Wordpress 6.8 when the WP_DEBUG constant was defined as true:
Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the [theme] 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.)
My fix was to wrap the functions.php content in an init action hook callback, but maybe there is a more elegant solution.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels