- Status
- Resolved
- Resolved in
- 4.5.7
Overview of the issue
WordPress 6.0 introduced a change that prevents the correct saving of taxonomy terms for translated posts and pages. Specifically, translated content always has taxonomy terms from the default language stored in the database instead of the translated taxonomy terms.
This issue only happens:
- If you use WordPress 6.0 with WPML version 4.5.6 or older.
- For translated pages and posts that have taxonomy terms assigned and were created or edited using WordPress 6.0.
Workaround
To fix this issue for already affected content, do the following:
- Update WPML to version 4.5.7 or newer.
- You should see the update available on the Plugins page in your admin. If you cannot update directly go to Plugins → Add New, click the Commercial tab and then click the Check for updates button.
- Use the Advanced Translation Editor, Classic Translation Editor, or the regular WordPress editor to edit the translations of all posts and pages you have edited using WordPress 6.0 prior to updating WPML to 4.5.7+. Please note that you will have to do this for all the secondary languages in your site.