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

Query monitor reported notice "Doing it wrong" on 6.7+ #197

Open
DahmaniAdame opened this issue Mar 10, 2025 · 0 comments
Open

Query monitor reported notice "Doing it wrong" on 6.7+ #197

DahmaniAdame opened this issue Mar 10, 2025 · 0 comments
Labels
priority: low Issues that can wait

Comments

@DahmaniAdame
Copy link

Describe the bug

The following message shows up when Query Monitor is active:

Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the backwpup 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. (This message was added in version 6.7.0.)

Image

It's related to how _load_textdomain_just_in_time is called.

To Reproduce
Steps to reproduce the behavior:

  1. Use Query Monitor
  2. Activate or update BackWPUp
  3. See the notice

Expected behavior
We should follow best practices used by WordPress core to use their hooks and functions.

@DahmaniAdame DahmaniAdame added the priority: low Issues that can wait label Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: low Issues that can wait
Projects
None yet
Development

No branches or pull requests

1 participant