Minor issue (warning) with WordPress 6.7
-
Hi
We’re picking up doing_it_wrong warnings with Automptimize and WordPress 6.7:
Function _load_textdomain_just_in_time was called incorrectly
classes/autoptimizeProTab line 24 & line 26It looks like you’re calling esc_html__() in the constructor, before WP has initialised. The guidance says to move any calls that might use gettext() or translate() into the init action (or later).
Thanks
Paul
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.