Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_load_textdomain_just_in_time incorrectly called and now shows notice #1089

Open
PeteAUK opened this issue Dec 31, 2024 · 0 comments
Open

_load_textdomain_just_in_time incorrectly called and now shows notice #1089

PeteAUK opened this issue Dec 31, 2024 · 0 comments
Labels

Comments

@PeteAUK
Copy link

PeteAUK commented Dec 31, 2024

Description of Problem

Since the upgrade to Wordpress 6.7.0+ simple lightbox now generates the following error:

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the simple-lightbox 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

It would appear that previously calling _load_textdomain_just_in_time could be called outside the init action, however this is no longer the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant