Skip to content

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

Version 3.6.3

25 Nov 19:51
c134385
Compare
Choose a tag to compare
  • Fix: the shortcode file-modified works again for non-privileged visitors as well;
  • Compat: if other plugins don't properly use WP Hooks, don't return errors;
  • Tweak: updated banners list from the EMR screen.

Version 3.6.2

08 Nov 18:27
e55952c
Compare
Choose a tag to compare
  • Fix: there was an issue in file.php with checking mime-type, resulting in weird mime-type values in certain cases (thanks @dougaxe1 for the PR);
  • Fix: if target mime type returns empty, don't store that;
  • Tweak: removed old notification about SPIO.

Version 3.6.1

27 Oct 13:30
774594c
Compare
Choose a tag to compare
  • Fix: there was a broken image in one of the plugin notices;
  • Fix: added a check for the function mime_content_type, which doesn't seem to always be available on various hosts;
  • Fix: the plugin checks if the current user has rights to install/activate plugins and only then displays the 1-click installers and also a filter is available now;

Version 3.6.0

11 Oct 14:23
490eaf7
Compare
Choose a tag to compare
  • New: Constant EMR_CAPABILITY can define extra user roles to allow and deny replacements;
  • New: Replacing an usual image with an SVG file will just replace all thumbnails by the main file;
  • New: Also replaces caption when set in Exif data (when replacing with updating all links);
  • Tweak: Added Now and Original options to Custom Date for usability;
  • Tweak: changes/updates to the banners from the EMR screen;
  • Fix: EMR now respects edit_other_posts permissions using default permissions;
  • Fix: EMR with ALLOW_UNFILTERED_UPLOADS enabled (and allowed role) will not limit non-allowed uploads;
  • Fix: some missing and wrong text-domains are now corrected (thanks @alexclassroom);
  • Fix: a missing dot in the plugin description was preventing the translations to properly work;
  • Fix: the plugin can now be uninstalled/deleted on PHP 8.

Version 3.5.0

29 Oct 16:04
9b75054
Compare
Choose a tag to compare
  • New: EMR now replaces across all meta tables;
  • New: the plugin remembers last used settings;
  • New: integration with the LiteSpeed cache plugin and webserver;
  • Tweak: manual Logging will no longer work if user is not logged as administrator;
  • Tweak: added post_id to enable-media-replace-upload-done action args, props to @jan Stiegler;
  • Fix: fully works now with Elementor;
  • Fix: the issue for WP-Bakery and URL-Encoded links is now fixed;
  • Fix: the plugin should now work with images added through Visual Composer;
  • Fix: EMR now uses queries instead of WordPress functions, correctly handling slashes and JSON formats;
  • Fix: -scaled images generated by WordPress are now removed when replacing an image;

Version 3.4.2

17 Aug 10:26
30ce74c
Compare
Choose a tag to compare
  • New - Also display files size in the replacement windows;
  • Fix - Replacing image with pdf file would cause noticesi;
  • Fix - Compensation for faulty WordPress installation that return empty error string on wp_upload_dir and falsely return relative paths and urls on WP core functions;
  • Fix - When choosing 'replace file and update names' and then uploading a file with identical name as source, it would postfix the duplicate name. This is no longer the case;
  • Fix - Wording clarification for the situation when the filename is changed, which will lead to broken links from external sites;
  • Fix - Added hard paths to require_once satements in order to prevent WP-CLI errrors;
  • Fix - If source image doesn't exist or in error state, replacement would be prevented by Javascript issue.

Version 3.4.1

17 Aug 10:27
c5da024
Compare
Choose a tag to compare
  • Fix – PHP Error when settings permissions failed.

Version 3.4.0

09 Jun 13:13
3532aee
Compare
Choose a tag to compare
  • New - In edit media screen EMR notes user who replaced file if this was not uploader;
  • New - Added Drag and Drop area for files;
  • New - When replacing with new file name, now also possible to update upload path;
  • Fix - Various minor CSS tweaks and fixes;
  • Update of Underlying libraries

Version 3.3.12

27 Apr 17:37
Compare
Choose a tag to compare
  • Fixed - When trying to upload over-limit file would show too many error messages;
  • Language – 2 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted.

Version 3.3.11

10 Mar 13:05
34929c3
Compare
Choose a tag to compare
  • Fix the crashing of certain frontend builders when the plugin is active.