You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #4036 we've delayed the load_plugin_textdomain call to the init action. Next, we must push some *__() calls to be done after that action.
That means that Feature and Indexable classes can not call i18n functions in their __construct methods, so we'll need to come up with a different way to set all labels and titles.
Steps to Reproduce
Using a different language in wp-admin and having WP_DEBUG on and no other plugin enabled, you should be able to see all the notices.
Screenshots, screen recording, code snippet
No response
Environment information
No response
WordPress and ElasticPress information
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Describe the bug
In #4036 we've delayed the load_plugin_textdomain call to the init action. Next, we must push some *__() calls to be done after that action.
That means that Feature and Indexable classes can not call i18n functions in their __construct methods, so we'll need to come up with a different way to set all labels and titles.
Steps to Reproduce
Using a different language in wp-admin and having WP_DEBUG on and no other plugin enabled, you should be able to see all the notices.
Screenshots, screen recording, code snippet
No response
Environment information
No response
WordPress and ElasticPress information
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: