Releases: short-pixel-optimizer/enable-media-replace
Releases · short-pixel-optimizer/enable-media-replace
Version 4.1.7
Version 4.1.6
- Fix: A potential "Reflected Cross-Site Scripting" vulnerability has been patched, responsibly disclosed by the PatchStack team.
Version 4.1.5
- 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
- Fix: The latest security fix was breaking the replacements made with Beaver Builder (and possibly other builders);
Version 4.1.3
- 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
- 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
- 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
- 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
- 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
- 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.