Media Cleaner - Version 5.5.2

Version Description

  • Update: Better support for WPBakery.
  • Fix: Issue with the URLs pointing at the plugin's tutorial page.
  • Fix: Avoid the scan to be halted by error logging.
  • Add: Basic support for WCFM MarketPlace.
  • Info: This plugin is a lot of work. Please help by giving it a nice review, here: https://wordpress.org/support/plugin/media-cleaner/reviews/?rate=5#new-post. Thank you :)
Download this release

Release Info

Developer TigrouMeow
Plugin Icon 128x128 Media Cleaner
Version 5.5.2
Comparing to
See all releases

Code changes from version 5.5.1 to 5.5.2

Files changed (5) hide show
  1. admin.php +2 -2
  2. core.php +2 -2
  3. media-cleaner.php +2 -2
  4. readme.txt +12 -6
  5. views/menu-screen.php +5 -3
admin.php CHANGED
@@ -61,7 +61,7 @@ class Meow_WPMC_Admin extends MeowApps_Admin {
61
  update_option( 'wpmc_delay', 100 );
62
 
63
  if ( !$this->is_registered() && get_option( 'wpmc_method', 'media' ) == 'files' ) {
64
- _e( "<div class='error'><p>The Pro version is required to scan files. You can <a target='_blank' href='http://meowapps.com/media-cleaner'>get a serial for the Pro version here</a>.</p></div>", 'media-cleaner' );
65
  }
66
  }
67
 
@@ -258,7 +258,7 @@ class Meow_WPMC_Admin extends MeowApps_Admin {
258
  </div>
259
 
260
  <div class="meow-col meow-span_1_of_2">
261
- <?php $this->display_serialkey_box( "https://meowapps.com/media-cleaner/" ); ?>
262
 
263
  <div class="meow-box">
264
  <h3>UI</h3>
61
  update_option( 'wpmc_delay', 100 );
62
 
63
  if ( !$this->is_registered() && get_option( 'wpmc_method', 'media' ) == 'files' ) {
64
+ _e( "<div class='error'><p>The Pro version is required to scan files. You can <a target='_blank' href='http://meowapps.com/plugin/media-cleaner'>get a serial for the Pro version here</a>.</p></div>", 'media-cleaner' );
65
  }
66
  }
67
 
258
  </div>
259
 
260
  <div class="meow-col meow-span_1_of_2">
261
+ <?php $this->display_serialkey_box( "https://meowapps.com/plugin/media-cleaner/" ); ?>
262
 
263
  <div class="meow-box">
264
  <h3>UI</h3>
core.php CHANGED
@@ -205,8 +205,8 @@ class Meow_WPMC_Core {
205
  }
206
  }
207
  else {
208
- $err = 'ERROR: Failed to load iframe: ' . $iframe_src;
209
- error_log( $err );
210
  $this->log( $err );
211
  }
212
  }
205
  }
206
  }
207
  else {
208
+ //$err = 'ERROR: Failed to load iframe: ' . $iframe_src;
209
+ //error_log( $err );
210
  $this->log( $err );
211
  }
212
  }
media-cleaner.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Media Cleaner
4
  Plugin URI: https://meowapps.com
5
  Description: Clean your Media Library, many options, trash system.
6
- Version: 5.5.1
7
  Author: Jordy Meow
8
  Author URI: https://meowapps.com
9
  Text Domain: media-cleaner
@@ -25,7 +25,7 @@ if ( is_admin() ) {
25
 
26
  global $wpmc_version;
27
  global $wpmc;
28
- $wpmc_version = '5.5.1';
29
 
30
  require __DIR__ . '/admin.php';
31
  require __DIR__ . '/core.php';
3
  Plugin Name: Media Cleaner
4
  Plugin URI: https://meowapps.com
5
  Description: Clean your Media Library, many options, trash system.
6
+ Version: 5.5.2
7
  Author: Jordy Meow
8
  Author URI: https://meowapps.com
9
  Text Domain: media-cleaner
25
 
26
  global $wpmc_version;
27
  global $wpmc;
28
+ $wpmc_version = '5.5.2';
29
 
30
  require __DIR__ . '/admin.php';
31
  require __DIR__ . '/core.php';
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: https://commerce.coinbase.com/checkout/d047546a-77a8-41c8-9ea9-4a95
5
  Requires at least: 4.8
6
  Tested up to: 5.3
7
  Requires PHP: 7.0
8
- Stable tag: 5.5.1
9
 
10
  Clean your WordPress from unused or broken media and files. It has its own trash system and recovery features. Please read the description.
11
 
@@ -15,7 +15,7 @@ Media Cleaner cleans your Media Library from the media entries (and files) which
15
 
16
  **Before using this plugin, make sure you have a proper backup of your install. This step is not optional; it is required. You cannot trust any tools modifying or deleting your files.**
17
 
18
- For compatibility, Pro version and important information, please read this until the end. Last but not least, it is necessary to read the [tutorial](https://meowapps.com/media-cleaner-tutorial/). It is available on the official website, here: [Media Cleaner](https://meowapps.com/media-cleaner).
19
 
20
  === VERY IMPORTANT ===
21
 
@@ -33,7 +33,7 @@ It works with any kind of media entries, including their retina and/or WebP vers
33
 
34
  The Pro version adds Filesystem Analysis, extra support for complex plugins, Live Site option and WP-CLI support.
35
 
36
- With the Filesystem Analysis, [Media Cleaner Pro](https://meowapps.com/media-cleaner) scans your physical /uploads directory, and match it against the Media Library. It also has extra support for complex plugins, such as:
37
 
38
  - ACF (+ ACF Widgets)
39
  - Divi Builder
@@ -44,11 +44,12 @@ With the Filesystem Analysis, [Media Cleaner Pro](https://meowapps.com/media-cle
44
  - Beaver Builder
45
  - Brizy Builder
46
  - Oxygen Builder
 
47
  - And more (Theme X, ZipList Recipe, UberMenu...)
48
 
49
  The Live Site option will analyze the online version of your website, which might enhance the accuracy of the Cleaner in edge-cases.
50
 
51
- Last but not least, [Media Cleaner Pro](https://meowapps.com/media-cleaner) has support for WP-CLI. If you have direct access (SSH) to your server, you will be able to run the plugin at a much higher speed or have it ran automatically, if you like.
52
 
53
  === AGAIN, BE CAREFUL ===
54
 
@@ -72,16 +73,21 @@ Better to be safe than sorry. This plugin deletes files! Therefore, backup is no
72
 
73
  == Changelog ==
74
 
 
 
 
 
 
 
 
75
  = 5.5.1 =
76
  * Update: Admin refreshed to 2.4.
77
  * Fix: Support for ACF Aspect Ratio Crop, Tasty Pins, and more extensions.
78
- * Info: This plugin is a lot of work. Please help by giving it a nice review, here: https://wordpress.org/support/plugin/media-cleaner/reviews/?rate=5#new-post. Thank you :)
79
 
80
  = 5.4.9 =
81
  * Fix: ACF File field wasn't being detected properly in some cases.
82
  * Fix: Support for WPBakery Masonry Grid and probably for many more cases than just this one.
83
  * Add: Ask for confirmation before deleting all the files at once.
84
- * Info: This plugin is a lot of work. Please help by giving it a nice review, here: https://wordpress.org/support/plugin/media-cleaner/reviews/?rate=5#new-post. Thank you :)
85
 
86
  = 5.4.8 =
87
  * Fix: Widgets were not scanned.
5
  Requires at least: 4.8
6
  Tested up to: 5.3
7
  Requires PHP: 7.0
8
+ Stable tag: 5.5.2
9
 
10
  Clean your WordPress from unused or broken media and files. It has its own trash system and recovery features. Please read the description.
11
 
15
 
16
  **Before using this plugin, make sure you have a proper backup of your install. This step is not optional; it is required. You cannot trust any tools modifying or deleting your files.**
17
 
18
+ For compatibility, Pro version and important information, please read this until the end. Last but not least, it is necessary to read the [tutorial](https://meowapps.com/media-cleaner-tutorial/). It is available on the official website, here: [Media Cleaner](https://meowapps.com/plugin/media-cleaner/).
19
 
20
  === VERY IMPORTANT ===
21
 
33
 
34
  The Pro version adds Filesystem Analysis, extra support for complex plugins, Live Site option and WP-CLI support.
35
 
36
+ With the Filesystem Analysis, [Media Cleaner Pro](https://meowapps.com/plugin/media-cleaner/) scans your physical /uploads directory, and match it against the Media Library. It also has extra support for complex plugins, such as:
37
 
38
  - ACF (+ ACF Widgets)
39
  - Divi Builder
44
  - Beaver Builder
45
  - Brizy Builder
46
  - Oxygen Builder
47
+ - WCFM MarketPlace
48
  - And more (Theme X, ZipList Recipe, UberMenu...)
49
 
50
  The Live Site option will analyze the online version of your website, which might enhance the accuracy of the Cleaner in edge-cases.
51
 
52
+ Last but not least, [Media Cleaner Pro](https://meowapps.com/plugin/media-cleaner/) has support for WP-CLI. If you have direct access (SSH) to your server, you will be able to run the plugin at a much higher speed or have it ran automatically, if you like.
53
 
54
  === AGAIN, BE CAREFUL ===
55
 
73
 
74
  == Changelog ==
75
 
76
+ = 5.5.2 =
77
+ * Update: Better support for WPBakery.
78
+ * Fix: Issue with the URLs pointing at the plugin's tutorial page.
79
+ * Fix: Avoid the scan to be halted by error logging.
80
+ * Add: Basic support for WCFM MarketPlace.
81
+ * Info: This plugin is a lot of work. Please help by giving it a nice review, here: https://wordpress.org/support/plugin/media-cleaner/reviews/?rate=5#new-post. Thank you :)
82
+
83
  = 5.5.1 =
84
  * Update: Admin refreshed to 2.4.
85
  * Fix: Support for ACF Aspect Ratio Crop, Tasty Pins, and more extensions.
 
86
 
87
  = 5.4.9 =
88
  * Fix: ACF File field wasn't being detected properly in some cases.
89
  * Fix: Support for WPBakery Masonry Grid and probably for many more cases than just this one.
90
  * Add: Ask for confirmation before deleting all the files at once.
 
91
 
92
  = 5.4.8 =
93
  * Fix: Widgets were not scanned.
views/menu-screen.php CHANGED
@@ -151,7 +151,7 @@
151
 
152
  if ( !$admin->is_registered() ) {
153
  echo "<div class='notice notice-info'><p>";
154
- _e( "<b>This version is not Pro.</b> This plugin is a lot of work so please consider <a target='_blank' href='//meowapps.com/media-cleaner'>Media Cleaner Pro</a> in order to receive support and to contribute in the evolution of it. Also, <a target='_blank' href='//meowapps.com/media-cleaner'>Media Cleaner Pro</a> version will also give you the option <b>to scan the physical files in your /uploads folder</b> and extra checks for the common Page Builders.", 'media-cleaner' );
155
  echo "</p></div>";
156
 
157
  $unsupported = array();
@@ -192,15 +192,17 @@
192
  if ( class_exists( 'SiteOrigin_Panels' ) )
193
  array_push( $unsupported, 'SiteOrigin PageBuilder' );
194
 
195
- // Tasty Pins
196
  if ( defined( 'TASTY_PINS_PLUGIN_FILE' ) )
197
  array_push( $unsupported, 'Tasty Pins' );
198
 
 
 
 
199
  if ( !empty( $unsupported ) ) {
200
  echo "<div class='notice notice-warning'><p>";
201
  _e( "The following plugins have been detected: ", 'media-cleaner' );
202
  echo '<b>' . join( ', ', $unsupported ) . '</b>. ';
203
- _e( "Since they require additional checks, they are only fully supported in <a target='_blank' href='//meowapps.com/media-cleaner'>Media Cleaner Pro</a>.", 'media-cleaner' );
204
  echo "</p></div>";
205
  }
206
 
151
 
152
  if ( !$admin->is_registered() ) {
153
  echo "<div class='notice notice-info'><p>";
154
+ _e( "<b>.</b> This plugin is a lot of work so please consider <a target='_blank' href='//meowapps.com/plugin/media-cleaner'>Media Cleaner Pro</a> in order to receive support and to contribute in the evolution of it. Also, <a target='_blank' href='//meowapps.com/plugin/media-cleaner'>Media Cleaner Pro</a> version will also give you the option <b>to scan the physical files in your /uploads folder</b> and extra checks for the common Page Builders.", 'media-cleaner' );
155
  echo "</p></div>";
156
 
157
  $unsupported = array();
192
  if ( class_exists( 'SiteOrigin_Panels' ) )
193
  array_push( $unsupported, 'SiteOrigin PageBuilder' );
194
 
 
195
  if ( defined( 'TASTY_PINS_PLUGIN_FILE' ) )
196
  array_push( $unsupported, 'Tasty Pins' );
197
 
198
+ if ( class_exists( 'WCFMmp' ) )
199
+ array_push( $unsupported, 'WCFM Marketplace' );
200
+
201
  if ( !empty( $unsupported ) ) {
202
  echo "<div class='notice notice-warning'><p>";
203
  _e( "The following plugins have been detected: ", 'media-cleaner' );
204
  echo '<b>' . join( ', ', $unsupported ) . '</b>. ';
205
+ _e( "Since they require additional checks, they are only fully supported in <a target='_blank' href='//meowapps.com/plugin/media-cleaner'>Media Cleaner Pro</a>.", 'media-cleaner' );
206
  echo "</p></div>";
207
  }
208