Enable Media Replace

Wordpress Plugin
Download latest - 3.5.0

Download Stats

Today 3,295
Yesterday 4,414
Last Week 18,312
All Time 1,621,525
Banner 772x250


Releases (60 )

Version Release Date Change Log
3.3.12 2020-04-27

Release date: 27th April 2020 * 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.

3.3.11 2020-03-10

Release date: 10th March 2020 * Fix the crashing of certain frontend builders when the plugin is active.

3.3.10 2020-02-23
3.3.9 2020-02-19

Release date: 19th February 2020 * Fix issue with search/replacing non-image attachments and query

3.3.8 2020-02-18

Release date: 18th February 2020 * Fixes for WP 5.3+ -scaled images system. Will now replace those as well. * Updating and replacing images and thumbnails should now work for serialized (and such) metadata. - For Beaver Builder * Add extra warning if mimetype is not allowed by WordPress for upload * Put Javascript version in wp_register_script * Hidden double 'replace media' * Replace Image label to Replace Media * Removed constant S3_UPLOADS_AUTOENABLE * Improved detection of SVG image sizes * Fixed - Logger doesn't call wp_upload_dir when not debugging * Extra - Javascript tries to resume after external errors. * Language 0 new strings added, 2 updated, 0 fuzzied, and 0 obsoleted

3.3.7 2019-11-14

Release date: 13th November 2019 * call the hook enable-media-replace-upload-done on both modes * fix JSON compatibility for hostings that don't have JSON module activated * Language 0 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted

3.3.6 2019-09-05

Release date: 5th September 2019 * fix JSON compatibility for hostings that don't have JSON module activated

3.3.5 2019-07-25

Release date: 25th July 2019 * fix Replace button on the MediaLibrary image details popup

3.3.4 2019-07-23

Release date: 23rd July 2019 * compatibility fixes for WP version 4.8 and below * cache killer

3.3.2 2019-07-19

Release date: 17th July 2019 * Check if medium size !> 400px, display that one, otherwise smallest. * Fixed: Links not updated when using Advanced Custom Fields * Fixed: Fails silently when file is too big for upload * When source file does not exist, show placeholder instead of failed image load * Fixed: Fatal error when replacing images * Fixed: Not the right time zone on replace * Fixed Beaver Builder incompatibility by not allowing replace with rename. * Fixed: Cannot replace non default Wordpress file types, even those allowed to upload [ Media Library Assistant compat ] * Fixed: error when trying to remove a file that doesn't exist - because the files are actually on another server

3.3.3 2019-07-19

Release date: 19th July 2019 * Fix error "using $this when not in object context" on some PHP versions

3.3.1 2019-06-18

Release date: 18th June 2019 * Fix error class not found on WPEngine

3.3.0 2019-06-05
  • When replacing an image and changing the name, Search / Replace is now also done on the meta_value of postmeta.
  • Replace PDF thumbnails too
  • Copy title from EXIF
  • RTL View incorporated into the CSS
  • wp_handle_upload filter should be treated as such (and not as action)
  • Use wp_attached_file instead of the GUID
  • Fix: replace missing file
  • Fix: aphostrophe breaking the upload
  • Fix: broken "before" image
  • Fix: update properly the date
  • Fix: errors for non-image items in Media Library
  • Fix: empty admin menu item created
  • Refactored all the code
3.2.9 2019-03-05
  • properly replace thumbnails names in the content when the replaced image has a different aspect ratio, thus the new thumbnails have a different height in the name.
3.2.8 2019-01-26
  • fix for failures in link updating when replacing file because of addslashes - use prepared query instead
  • replace basename with wp_basename because basename doesn't work well with UTF8
3.2.7 2018-08-18
  • Add minimum required php version to run the plugin.
  • Security: Prevent direct access to php files.
  • Security: Prevent direct access to directories.
  • Security: Escape translation strings using esc_attr__() and esc_html__() functions.
  • Fix RTL issues.
3.2.6 2018-07-04
  • no more 404 error if no image was selected when trying to replace it
  • added preview so you can check the image being replaced and also the image that's being replaced with
  • .dat files can be replaced (functionality accidetanly removed in the previous version)
  • added compatibility with S3 upload plugin
  • when an image is replaced the date is also updated
3.2.5 2018-04-16
  • remove the leftover setcookie and the plugins recommendations.
3.2.4 2018-04-13
  • Fix PDF thumbnails not replaced when replacing a PDF
  • Fix not replacing text files with .dat extension
3.2.3 2018-03-15
  • disable ShortPixel recommendation on secondary sites of a multisite install when it was network activated.
3.2.2 2018-03-14
  • Added ShortPixel links and images, fixed the problem of ShortPixel recommendation not dismissing.
3.2.1 2018-03-06
  • Bugfix, typo made metadata changes (thanks GitHub user icecandy!)
  • Removed Shortpixel links and images
3.2 2018-02-21
  • Tested with WP 4.9.4
3.1.1 2017-07-28
  • Fixed bug introduced in an earlier version, preventing the updating of URLs on pages/posts if the link did not contain the domain name
3.1 2017-07-21
  • Got rid of some pesky old code, and added some better filtering options, thanks to GitHub users speerface, aaemnnosttv, and ururk
  • Brand new, shiny code to replace other image sizes in embeded media, thanks to GitHub user ianmjones!
  • Tested with WP 4.8
3.0.6 2017-02-10
  • Tested with WP 4.7.2
  • New PT translations (thanks Pedro Mendonca! https://github.com/mansj/enable-media-replace/commit/b6e63b9a8a3ae46b3a6664bd5bbf19b2beaf9d3f)
3.0.5 2016-10-14
  • Tested with WP 4.6.1
3.0.4 2016-01-11
  • Fixed typo in .pt translations (https://github.com/mansj/enable-media-replace/pull/18)
  • Fixed better error handling in modification date functions (https://github.com/mansj/enable-media-replace/pull/16)
  • Tested with WP 4.4.1
3.0.3 2015-01-19
  • Scrapped old method of detecting media screen, button to replace media will now show up in more places, yay!
  • Made sure the call to get_attached_file() no longer skips filters, in response to several users wishes.
  • Suppressed error messages on chmod()
  • Added Japanese translation (Thank you, chacomv!)
3.0.2 2015-01-16
  • Cleaned up language files
  • Added Portuguese translation (Thanks pedro-mendonca!)
  • Tested with WP 4.1
  • Added missing Swedish translation strings
3.0.1 2014-10-17
  • Tiny fix to re-insert the EMR link in the media list view.
3.0 2014-09-12
  • Updated for WordPress 4.0
  • Now inheriting permissions of the replaced files, Thank you Fiwad
2.9.6 2014-05-12
  • Added fix by Grant K Norwood to address a possible security problem in SQL statements. Thanks Grant!
  • Created GitHub repo for this plugin, please feel free to contribute at github.com/mansj/enable-media-replace
2.9.5 2014-03-12
  • Bug fix for the short code displaying the modification date of a file
  • Updated all database queries in preparation for WP 3.9
2.9.4 2014-02-04
  • Bug fix for timezone changes in WordPress
  • Minor UI change to inform the user about what actually happens when replacing an image and using a new file name
2.9.3 2013-08-02
  • Added call to update_attached_file() which should purge changed files for various CDN and cache plugs. Thanks Dylan Barlett for the suggestion! (http://wordpress.org/support/topic/compatibility-with-w3-total-cache)
  • Suppressed possible error in new hook added in 2.9.2
2.9.2 2013-06-17
  • Small bug fix
  • Added hook for developers to enable purging possible CDN when updating files - thanks rubious for the suggestion!
2.9.1 2013-06-14
  • Added Brazilian Portuguese translation, thanks Roger Nobrega!
  • Added filter hook for file name creation, thanks to Jonas Lundman for the code!
  • Added modification date to the edit attachment screen, thanks to Jonas Lundman for the code!
  • Enhanced the deletion method for old file/image thumbnails to never give unnecessary error messages and more accurately delete orphaned thumbs
2.9 2013-04-15
  • Added Portuguese translation, thanks Bruno Miguel Bras Silva!
  • New edit link from media library
  • After uploading, the plugin now takes you back to edit screen instead of library
2.8.2 2013-01-18
  • Made another change to the discovery of media context which will hopefully fix a bug in certain cases. Thanks to "Joolee" at the WordPress.org forums!
  • Added a new, supposedly better Russian translation from "Vlad".
2.8.1 2013-01-02
  • Fixed a small bug which could create error messages on some systems when deleting old image files.
2.8 2012-12-18
  • New and safer method for deleting thumbnails when a new image file is uploaded.
  • New translations for simplified Chinese (thanks Tunghsiao Liu) and Italian (grazie Marco Chiesi)
  • Added method for detecting upload screen to ensure backwards compatibility with versions pre 3.5
2.7 2012-12-17
  • A couple of changes made to ensure compatibility with WordPress 3.5. Thanks to Elizabeth Powell for the fixes!
2.6 2011-11-10
  • New and improved validation of uploaded files, now using WP's own functions for checking file type and extension. Thanks again to my old friend Ulf "rsta" Hrnhammar for keeping us all on our toes! :) This should also hopefully fix the problems people have been having with their installations claiming that perfectly good PDF files are not allowed file types.
2.5.2 2011-09-26
  • The "more reliable way" of determining MIME types turned out to be less reliable. Go figure. There seems to be no perfect way of performing a reliable check for MIME-types on an uploaded file that is also truly portable. I have now made checks for the availability of mime_content_type() before using it, using the old method as a fall-back. It is far from beautiful, so if anybody has a better way of doing it, please contact me!
2.5.1 2011-09-23
  • Bug fix - there is now a more reliable way of determining file type on your upload so you can upload PDF files without seeing that pesky "File type does not meet security guidelines" message.
  • New translation to Danish - thanks to Michael Bering Petersen!
2.5 2011-08-18
  • Tested with WordPress 3.2.1
  • New translation to German - thanks to Martin Lettner!
  • New translation to French - thanks to Franois Collette!
2.4.1 2011-02-10
  • Bug fix for WordPress 3.1 RC. Now properly tested and should be working with 3.1 whenever it finally comes out. :)
2.4 2011-02-09
  • Bug fixes, security fixes. Thanks to my old pal Ulf "rsta" Hrnhammar for pointing them out!
  • New method for uploading avoids going around WP, for greater security.
2.3 2010-09-13
  • Lots of code trimmed and enhanced, thanks to Ben ter Stal! Now working properly with Windows systems, better security, optimized loading, and much more.
  • Added Dutch translation by Ben ter Stal.
2.2 2010-08-11
  • Bug fix, fixed typo in popup.php, thanks to Bill Dennen and others for pointing this out!
2.1 2010-06-22
  • New shortcode - display file modification date on your site (see description for more info)
  • A couple of bug fixes for final release of 3.0 - Thanks to Jim Isaacs for pointing them out!
2.0.1 2010-06-01
  • Added support for SSL admin
2.0 2010-05-17
  • Replaced popup with inline navigation when replacing media
  • Added instructions in admin link under Media
1.4.1 2010-05-17
  • Tested with WordPress 3.0 beta 2
1.4 2010-02-18
  • Removed short tags for better compatibility.
1.3 2009-11-23
1.2 2009-08-03
1.1 2009-07-20
1.0 2009-06-01