WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Enable Media Replace

Enables replacing attachment files by simply uploading a new file in the media library edit view.

2.9.6

  • 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

  • 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

  • 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

2.9.2

  • Small bug fix
  • Added hook for developers to enable purging possible CDN when updating files - thanks rubious for the suggestion!

2.9.1

  • 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

  • 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

  • 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

  • Fixed a small bug which could create error messages on some systems when deleting old image files.

2.8

  • 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

  • A couple of changes made to ensure compatibility with WordPress 3.5. Thanks to Elizabeth Powell for the fixes!

2.6

  • 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" Härnhammar 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

  • 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

  • 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

  • Tested with WordPress 3.2.1
  • New translation to German - thanks to Martin Lettner!
  • New translation to French - thanks to François Collette!

2.4.1

  • Bug fix for WordPress 3.1 RC. Now properly tested and should be working with 3.1 whenever it finally comes out. :)

2.4

  • Bug fixes, security fixes. Thanks to my old pal Ulf "Årsta" Härnhammar for pointing them out!
  • New method for uploading avoids going around WP, for greater security.

2.3

  • 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

  • Bug fix, fixed typo in popup.php, thanks to Bill Dennen and others for pointing this out!

2.1

  • 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

  • Added support for SSL admin

2.0

  • Replaced popup with inline navigation when replacing media
  • Added instructions in admin link under Media

1.4.1

  • Tested with WordPress 3.0 beta 2

1.4

  • Removed short tags for better compatibility.

1.3

  • Added support for wp_config setting "FORCE_SSL_ADMIN"

1.2

  • Added Russian translation, thanks to Fat Cower.

1.1

  • Minor bugfix, now working with IE8 too!

1.0

  • First stable version of plugin.

Requires: 3.0 or higher
Compatible up to: 3.9.1
Last Updated: 2014-5-12
Downloads: 261,350

Ratings

4 stars
4.9 out of 5 stars

Support

0 of 3 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
75,4,3
100,2,2
100,2,2
100,5,5 100,1,1 0,1,0 100,1,1
100,3,3
100,1,1 83,6,5
0,1,0
100,1,1
100,1,1
100,1,1
100,1,1 67,3,2
100,1,1
100,3,3 0,1,0
67,3,2 50,4,2 67,3,2 50,4,2 100,6,6
100,2,2
92,12,11
63,8,5
100,2,2
100,11,11
83,6,5
5,22,1 100,4,4 50,2,1 67,3,2 100,2,2
100,3,3 100,3,3 100,1,1
100,1,1 100,1,1
100,4,4
100,7,7
100,3,3
67,3,2
50,2,1 100,2,2 100,1,1
100,2,2