Skip Navigation

Released on:

Features

  • Allow Gutenberg block fields to be specified as links and replace any links with translations if they are available.
  • Added a warning in the Reset WPML functionality, informing Advanced Translation Editor users that will lose the in-progress translations
  • Implemented a custom library for Collections to ensure compatibility with other plugins.
  • Improved the dependency check between different versions of WPML plugins.
  • Changed all occurrences of the “Gutenberg editor” name into “Block editor”.

Fixes

  • Fixed an error thrown when saving a Gutenberg translation job with a string containing a slash.
  • Fixed an issue with too big flags shown in the admin panel when custom flag image of a large size is used.
  • Fixed an issue to prevent WPML from overriding the page metadata when WPML media is active and a page created with Beaver Builder is published.
  • Fixed the “Uncaught Error: Call to undefined function icl_xml2array()” fatal error that happened when using wp-cli.
  • Fixed an issue where target links were not automatically translated in image and button blocks.
  • Fixed block attribute encoding.

Compatibility

  • Fixed an error that happened when Elementor JSON data was invalid.
  • Added a language switcher widget for the Elementor page builder.
  • Fixed an issue where some Elementor Templates were not displayed on translated pages.
  • Introduced the “wpml_custom_language_switcher_is_enabled” filter hook.
  • Optimized usage of the “debug_backtrace” function which improves performance by up to 7% in some cases.
  • Added a check to prevent the “wordpress-seo” compatibility classes from loading if the Yoast SEO Multilingual plugin is active.
  • Changed the “wpml_collect” vendor path to “wpml/collect” to avoid conflicts.
  • Fixed an issue where adding a booking to the cart was too slow.
  • Fixed a fatal error related to running the troubleshooting action to assign translation status to duplicates.
  • Improved the Language Switcher accessibility for screen readers.
  • Fixed a problem with inaccessible REST Endpoints when a site is installed in a subdirectory and the “Use directory for default language” option is enabled.
  • Added a fix to prevent long code execution when saving the taxonomy settings.
  • Fixed an issue where post tags were converted to IDs when saving a page created using a page builder and the WPML Media Translation plugin was active.
  • Change the language switcher type string in the Language Switcher Elementor widget.

Performances

  • Improved performance of database requests by adding two indexes to the “icl_translations” table.
  • Improved the performance when WooCommerce and/or Query Monitor are active.
  • Improved the performance when saving the post with a big number of custom fields.
  • Improved the performance on sites with big number of translated taxonomies (for example, product categories).
  • Significantly improved the site performance on when updating the page, post, or a WooCommerce product page in the admin.
  • Added the “wp_” prefix to all cookies so that hosting and caching layers can properly handle them.
  • Added a fix that lowers the database usage by preventing some resource-intensive options from autoloading.

API

  • Added the “wpml_post_edit_meta_box_context” filter to allow changing WPML’s post edit meta box context.
  • Added a filter that allows filtering the post meta values before they are copied to the translation.

Download and Update

You can get this release directly to the WordPress admin or download and install manually. To receive automatic updates, you need to register WPML on your site. Then, visit the Plugins or Updates admin pages. To download manually, visit your wpml.org account and go to Downloads. Follow the installation and upgrade instructions for complete details.

When you update WPML, be sure to update together all the components that you are using. Don’t use a mixture of new and older versions.

Feedback? Need Help?

We love feedback. To make a suggestion, ask a question or give an idea, leave your comment here. If you need technical support and help troubleshooting problems, please use our technical support forum.