Skip to content

Releases: short-pixel-optimizer/enable-media-replace

Version 4.1.7

02 Oct 09:46
67535a7

Choose a tag to compare

  • Fix: A potential "Cross-Site Scripting" vulnerability has been patched, responsibly disclosed by the WordFence team;
  • Fix: Corrected a few text typos.

Version 4.1.6

25 Mar 06:38
534aa12

Choose a tag to compare

  • Fix: A potential "Reflected Cross-Site Scripting" vulnerability has been patched, responsibly disclosed by the PatchStack team.

Version 4.1.5

14 Dec 15:11
c1a39c9

Choose a tag to compare

  • Tweak: Added a filter to disable the remote notification system added in version 4.1.0;
  • Fix: A potential "Reflected Cross-Site Scripting" vulnerability has been patched, responsibly disclosed by the Wordfence team.

Version 4.1.4

22 Sep 14:00
3cde582

Choose a tag to compare

  • Fix: The latest security fix was breaking the replacements made with Beaver Builder (and possibly other builders);

Version 4.1.3

14 Sep 11:53
dfa8b51

Choose a tag to compare

  • Fix: A possible PHP Object Injection was patched, which could be exploited under certain conditions;
  • Fix: ShortPixel Image Optimizer handles offloading when both plugins are used with WP Offload Media.

Version 4.1.2

24 Apr 14:10
b290930

Choose a tag to compare

  • Tweak: Reduced the wait time before redirecting to the media edit page to half (5s);
  • Fix: If an item is not offloaded, no attempt is made to update its data;
  • Fix: Removed some double spaces from the plugin strings (thanks to @Presskopp).

Version 4.1.1

13 Apr 08:08
55cb752

Choose a tag to compare

  • Tweak: Added a filter to reduce or remove the wait time before redirecting to the media edit page;
  • Fix: Replacement works again on multisite setups where the plugin reported the path outside the uploads folder;
  • Fix: In some cases, replacement didn't work when images were offloaded;
  • Fix: Some translation strings were corrected (thanks @alexclassroom !).

Version 4.1.0

28 Mar 09:35
770e4f9

Choose a tag to compare

  • New: Integration with WP Offload Media; items that are offloaded can now be replaced correctly;
  • New: Switch to a Replacer module that improves the code and makes it more robust;
  • New: Adding an intermediate confirmation page to solve possible redirection issues;
  • Tweak: The new image can now be dragged and dropped directly into the preview area;
  • Tweak: Improved the display of both the original image and the new image on the replacement screen;
  • Tweak: Improved the notification system and added a mechanism for remote notifications;
  • Tweak: Updated the texts and banners to look better on the replacement screen;
  • Fix: Added documentation in the readme to disable the background removal feature (kudos to @jstask82);
  • Fix: Increased the security of the plugin by adding checks for various AJAX calls;

Version 4.0.3

21 Feb 12:38
88d6347

Choose a tag to compare

  • Fix: background removal notification is no longer displayed when this feature is disabled with the filter;
  • Compat: improved compatibility with PHP 8.1 and 8.2
  • Tweak: updated the banners on the replace page.

Version 4.0.2

21 Feb 12:37
57ed323

Choose a tag to compare

  • Fix: patched a security vulnerability that could allow loading an unauthorized file during the replace operation;
  • Fix: finish the replace operation even if the tmp file cannot be removed due to file permissions issues;
  • Fix: when replacing a scaled file with a non-scaled file, some links were broken;
  • Fix: under certain conditions a PHP warning about an undefined array key was displayed.