- Released
- January 30, 2017
- Channel
- Stable
- Tested with WordPress
- 4.7.2
- Product
- WPML Multilingual CMS
Changelog
Fixes
- Fixed some glitches for dropdown language switchers
- Fixed SitePress::get_term_adjust_id to retain the object_id if needed. Fixes missing WC product variations
- Fixed error on front-end when using WPML in Menus but with incomplete setup
- Fixed not saved settings when assigning a language switcher to a menu with a name in an encoded language (Hebrew, Chinese, …)
- Fixed some compatibility issues for language switcher in menus
- Fixed title sanitization when German (deDE) and Danish (daDA) languages are present
- Fixed path returned by get_home_path when in the second language and using languages in domains
- Fixed default locale for some affected languages
- Fixed domain in the content_url function to match the current domain URL
- Applied some changes in WPML cookies: wpml_referer_url will be set on WCML and _icl_current_language will be set only if user is logged in
- Fixed redirection from URL with no language directory to URL with default language directory (applies with root page setup)
- Fixed fatal error during WPML setup (step 2) if not possible to connect to WP translation
API
- Fixed retrieving gallery’s images after changing the default language
- Added page builder requirements message for Divi theme
- Fixed post relationship for Types plugin when saving posts
- Fixed issue where translations can get disconnected when editing a duplicate post
- Fixed issue where an auto-draft draft is being assigned as a translation
- Fixed issues for retrieving object terms in a language different than the request language (related to wp_get_object_terms)
- Fixed issue when updating any WPML user field from other user
- Fixed issue in WPML wizard language not matching site language on fresh install
- Fixed issue in user admin language when trying to set a language which is not an active WPML language
Features
- WPML now scans for language switcher templates in the uploads folder
- Introduced a new generic shortcode for language switcher wpml_language_switcher
- Downloading and using wpml-config.xml for parent theme when available
Compatibility
- Removed Avada page builders integration.
- Resolved compatibility issues with ‘Twenty Seventeen` theme and translation of Theme Options
- Fixed issue with Enfold’s page builder and new string translation workflow
- Fixed issue with single sign-on when Object Cache is enabled using W3TC
- Resolved JS conflict with ACF Pro, affecting WYSIWYG fields
Security
Several security fixes
API
Filters
- [wpmlcore-3913] Added wpml_duplicate_generic_string in some locations to replace deprecated icl_duplicate_generic_string
Update or download
The update is available to all WPML clients with an active subscription — it appears on the Plugins page in your WordPress admin within 24 hours of release. You can also check for it right away under Plugins → Add New Plugin → Commercial. To download and install manually, go to Downloads in your wpml.org account (see the installation instructions) and remember to update all components together without mixing versions.
Need help or want to give feedback? Please use our technical support forum.