Issue with Early Translation Loading (_load_textdomain_just_in_time)
-
Hello,
Since updating to WordPress 6.7.0, I have been seeing the following notice in my error logs:
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the
broken-link-checker
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 theinit
action or later.According to the WordPress documentation, this notice indicates that the
broken-link-checker
text domain is being loaded too early in the WordPress loading process (likely before theinit
action).It seems that the plugin is attempting to load its translation files using a function like
load_plugin_textdomain()
in a hook that runs prematurely, such asplugins_loaded
, or even directly in a global context.Could you please review this and consider fixing the issue in a future update?
Thank you in advance for your help and for all the great work you’ve done on this plugin.
Best regards,
Laurent
- You must be logged in to reply to this topic.