WPML
Status
Resolved
Type
Bug
Reported for
WPML Multilingual CMS 4.6.9
Resolved in
WPML Multilingual CMS 5.0.0
Topic tags
Bug

Overview of the issue

We have identified a possible increase in duplicate queries when you are using the setting Translatable use translation if available or fallback to default language for the Pages built-in post type of WordPress.

The issue might lead to slight performance degradation, however it should only affect pages with multiple links to other pages.

Workaround

Update to WPML 5.0 or later. WPML 5.0 looks up the translations of links and listed pages in batches, which removes the duplicate queries.

If you cannot update yet:


If you need to have Pages appear as translated to other languages, it is best to duplicate and set the translation mode to Translatable only show translated items instead of using Translatable use translation if available or fallback to default language

All known issues