WPML

Changelog

Requires WPML 5.4.0.

Fixes for Problems that Started in 5.3.0

A fix shipped in 5.3.0 now also works with child themes.

  • Blocksy's header and off-canvas logos show the translated image also when a Blocksy child theme is active.

Page Builders

Translated pages show the translated image or file in many more page builder elements.

  • Translated Elementor pages show the translated image in Testimonial, Flip Box, Author Box, Price List, Testimonial Carousel and Reviews widgets, video posters, hover and overlay backgrounds, and per-device backgrounds.
  • More Elementor elements use the translated image or file, such as masks, Lottie, Video Playlist, Off-Canvas, Floating Bars, Contact Buttons, uploaded SVG icons and popup backgrounds.
  • The Divi 5 Image module on a translated page uses the translated image, also in its srcset. Update the page translation and clear Divi's cache once.
  • A translated file added after a Divi 5 page was translated reaches that page when you upload it or run Scan & Replace.
  • Cornerstone's Card, Video and Audio elements, and the graphic images of Headline, Button, Creative CTA, Social, Testimonial and Quote, use the translated media.

Media Translation Screen

Uploading a translated file updates every page that uses it, and the dialog tells you what happened.

  • Replacing a translated file also updates page builder links on translated pages, so they point to the new file at once.
  • Uploading a translated file updates block pages too, also when a classic post shows the same image.
  • The image translation dialog says when a save fails instead of spinning, and no longer shows an earlier upload error for another image.
  • The image translation dialog fits a narrow window, such as a phone screen.
  • Uploading a translated image works for a custom language whose code ends with a hyphen.
  • Updating a post whose only media is a featured image or attached files no longer makes WPML forget that the post uses media.

Media Setup

The media setup finishes on large sites and leaves image data intact.

  • Media setup no longer overwrites an image's file path, sizes and alt text with "1" when its processed flag held an unexpected value.
  • Media setup moves on with each admin page you open, instead of one batch every two minutes.
  • Elementor's Templates screens no longer show an "ajaxurl is not defined" error while the media setup is running, and the setup continues there.

Performance

The media setup takes much less time on sites with many images.

  • The media setup scan looks up the images of a whole batch of posts at once, instead of one slow lookup per post.
  • The media setup's last step reads each image once. Before, it could take about 25 seconds on a site with 52,000 images.

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 PluginsAdd New PluginCommercial. 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 with This Release?

Ask a support question