Enable Media Replace - Version 3.3.1

Version Description

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

Download this release

Release Info

Developer ShortPixel
Plugin Icon 128x128 Enable Media Replace
Version 3.3.1
Comparing to
See all releases

Code changes from version 3.3.0 to 3.3.1

Files changed (3) hide show
  1. classes/cache.php +3 -3
  2. enable-media-replace.php +1 -1
  3. readme.txt +5 -0
classes/cache.php CHANGED
@@ -97,13 +97,13 @@ class emrCache
97
  protected function removeWpeCache()
98
  {
99
  if ( method_exists( 'WpeCommon', 'purge_memcached' ) ) {
100
- WpeCommon::purge_memcached();
101
  }
102
  if ( method_exists( 'WpeCommon', 'clear_maxcdn_cache' ) ) {
103
- WpeCommon::clear_maxcdn_cache();
104
  }
105
  if ( method_exists( 'WpeCommon', 'purge_varnish_cache' ) ) {
106
- WpeCommon::purge_varnish_cache();
107
  }
108
  }
109
 
97
  protected function removeWpeCache()
98
  {
99
  if ( method_exists( 'WpeCommon', 'purge_memcached' ) ) {
100
+ \WpeCommon::purge_memcached();
101
  }
102
  if ( method_exists( 'WpeCommon', 'clear_maxcdn_cache' ) ) {
103
+ \WpeCommon::clear_maxcdn_cache();
104
  }
105
  if ( method_exists( 'WpeCommon', 'purge_varnish_cache' ) ) {
106
+ \WpeCommon::purge_varnish_cache();
107
  }
108
  }
109
 
enable-media-replace.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Enable Media Replace
4
  Plugin URI: https://wordpress.org/plugins/enable-media-replace/
5
  Description: Enable replacing media files by uploading a new file in the "Edit Media" section of the WordPress Media Library.
6
- Version: 3.3.0
7
  Author: ShortPixel
8
  Author URI: https://shortpixel.com
9
  Text Domain: enable-media-replace
3
  Plugin Name: Enable Media Replace
4
  Plugin URI: https://wordpress.org/plugins/enable-media-replace/
5
  Description: Enable replacing media files by uploading a new file in the "Edit Media" section of the WordPress Media Library.
6
+ Version: 3.3.1
7
  Author: ShortPixel
8
  Author URI: https://shortpixel.com
9
  Text Domain: enable-media-replace
readme.txt CHANGED
@@ -47,6 +47,11 @@ If you want more control over the format used to display the time, you can use t
47
 
48
  == Changelog ==
49
 
 
 
 
 
 
50
  = 3.3.0 =
51
  * When replacing an image and changing the name, Search / Replace is now also done on the meta_value of postmeta.
52
  * Replace PDF thumbnails too
47
 
48
  == Changelog ==
49
 
50
+ = 3.3.1 =
51
+
52
+ Release date: 18th June 2019
53
+ * Fix error class not found on WPEngine
54
+
55
  = 3.3.0 =
56
  * When replacing an image and changing the name, Search / Replace is now also done on the meta_value of postmeta.
57
  * Replace PDF thumbnails too