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 plugin text domain on 'init' action for WP 6.7 compatibility #149

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ridonibishi
Copy link

This pull request updates the loading of the plugin's text domain to occur on the 'init' action hook, ensuring compatibility with WordPress 6.7 and adherence to proper plugin initialization standards.
Source: https://make.wordpress.org/core/2024/10/21/i18n-improvements-6-7/

Previously, the text domain was being loaded too early in the WordPress lifecycle, triggering a warning.

Changes made:

  • Moved the call to load_plugin_textdomain() to run on the 'init' action hook.

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

Successfully merging this pull request may close these issues.

1 participant