Since WordPress 6.7 the following PHP notices are triggered when text domains are loaded before the init action:
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pronamic-ideal 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.)
This has also been reported in https://wordpress.org/support/topic/function-_load_textdomain_just_in_time-was-called-incorrectly-69/.
Since WordPress 6.7 the following PHP notices are triggered when text domains are loaded before the
initaction:This has also been reported in https://wordpress.org/support/topic/function-_load_textdomain_just_in_time-was-called-incorrectly-69/.