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
WPML string translation hooks #1761
Comments
Thanks for the report. Feel free to submit a PR if you like. |
@michaeltorbert I have no exact suggestions for changing initialization. Tested and looks it has no (bad) impact on other code. Do you think it can be added like that somewhere in AIOSEOP? |
@srdjan-jcc Sure, but as we have hundreds of issues, we have to prioritize, so submitting a PR is the quickest way to get it included. |
@michaeltorbert Created PR here #1876 Please make sure fix is also applied to PRO version, thank you! |
When testing, make sure to first verify the problem, and that the linked PR fixes it. |
@wpsmort this has first verified and then tested. Works fine. @michaeltorbert needs code review. |
Translations for Home Page Title and Home Page Description fields are not applied.
AIOSEOP is calling get_options() too early and translations are not applied.
When home page is loaded, get_options() hook is only once called from file/line
all-in-one-seo-pack-pro/all_in_one_seo_pack.php :126
If aioseop_get_options() is called on 'init' hook - translations are applied.
To Reproduce
Expected behavior
Translations are applied to Home Page Title and Home Page Description fields.
The text was updated successfully, but these errors were encountered: