Title: Compatibility with Enable Media replace plugin
Last modified: August 31, 2016

---

# Compatibility with Enable Media replace plugin

 *  Resolved [aldemarcalazans](https://wordpress.org/support/users/aldemarcalazans/)
 * (@aldemarcalazans)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/compatibility-with-enable-media-replace-plugin/)
 * Hi Pär.
 * I was testing the compatibility with Enable Media Replace plugin and I noticed
   that, a change in the media file is only logged by Simple History _if you click
   in the WordPress Update button_. If we do not update the post, nothing is logged.
 * Is there any way to intercept these clicks on the Enable Media Replace buttons,
   only? Because, even if we do not update the post, via WordPress button, the post
   is already changed with the change in the media.
 * If I download the media, we will confirm that the change was made, although not
   registered by the plugin!
 * Regards,
 * [https://wordpress.org/plugins/simple-history/](https://wordpress.org/plugins/simple-history/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Pär Thernström](https://wordpress.org/support/users/eskapism/)
 * (@eskapism)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/compatibility-with-enable-media-replace-plugin/#post-6921684)
 * Can you explain more in detail exactly when it is not logged?
 * I just tried to replace a media file here and it got logged, even if I did not
   update the post that the media was in.
 *  Thread Starter [aldemarcalazans](https://wordpress.org/support/users/aldemarcalazans/)
 * (@aldemarcalazans)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/compatibility-with-enable-media-replace-plugin/#post-6921704)
 * Hi Pär.
    Sorry for the inconvenience!
 * I tested the combination of the two plugins, in a fresh install, and everything
   worked very well. All my procedures were logged.
    So, I suspect that I have a
   plugin conflict in my original installation: perhaps the database cache or the
   security plugin are interfering in the process. I will try to find the guilty
   for the problem and, If I succeed, I will post the informations here.
 * Regards,
 * Aldemar
 *  Plugin Author [Pär Thernström](https://wordpress.org/support/users/eskapism/)
 * (@eskapism)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/compatibility-with-enable-media-replace-plugin/#post-6921706)
 * Thanks for the follow up!
 *  Thread Starter [aldemarcalazans](https://wordpress.org/support/users/aldemarcalazans/)
 * (@aldemarcalazans)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/compatibility-with-enable-media-replace-plugin/#post-6921724)
 * I discovered how to reproduce the problem. You must add to your wp-config.php,
   the following line:
 * `define( 'DISALLOW_FILE_EDIT', true );`
 * This line was added to our wp-config.php for security purposes, according to:
   
   [https://codex.wordpress.org/Editing_wp-config.php#Disable_the_Plugin_and_Theme_Editor](https://codex.wordpress.org/Editing_wp-config.php#Disable_the_Plugin_and_Theme_Editor)
   I guess it is a common option in many security plugins.
 * By the way: Simple History remains logging the media replacement events, _but
   does not exhibit them on the screen until you comment the refered directive in
   wp-config.php_.
    I forgot to say: my install is multisite.
 *  Plugin Author [Pär Thernström](https://wordpress.org/support/users/eskapism/)
 * (@eskapism)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/compatibility-with-enable-media-replace-plugin/#post-6921775)
 * This should be fixed now in version 2.5.5.
    [https://wordpress.org/plugins/simple-history/changelog/](https://wordpress.org/plugins/simple-history/changelog/)

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Compatibility with Enable Media replace plugin’ is closed to new replies.

 * ![](https://ps.w.org/simple-history/assets/icon.svg?rev=3225008)
 * [Simple History – Track, Log, and Audit WordPress Changes](https://wordpress.org/plugins/simple-history/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-history/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-history/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-history/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-history/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-history/reviews/)

## Tags

 * [media replace](https://wordpress.org/support/topic-tag/media-replace/)

 * 5 replies
 * 2 participants
 * Last reply from: [Pär Thernström](https://wordpress.org/support/users/eskapism/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/compatibility-with-enable-media-replace-plugin/#post-6921775)
 * Status: resolved