Media Cleaner - Version 4.8.0

Version Description

  • Update: Many parts of the UI were rewritten for a better experience. Buttons have a nicer logic.
  • Add: Enhanced error control. From now, when an error occurs during the scan, a popup will appear (asking to try again, or to skip the current item), and errors will be logged to the console.
  • Info: Please help this plugin survive by giving me a nice review, here: https://wordpress.org/support/plugin/meow-lightbox/reviews/?rate=5#new-post. Thank you :)
Download this release

Release Info

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

Code changes from version 4.6.3 to 4.8.0

Files changed (3) hide show
  1. common/admin.php +6 -4
  2. media-cleaner.php +2 -2
  3. readme.txt +7 -2
common/admin.php CHANGED
@@ -11,7 +11,7 @@ if ( !class_exists( 'MeowApps_Admin' ) ) {
11
  public $mainfile; // plugin main file (media-file-renamer.php)
12
  public $domain; // domain used for translation (media-file-renamer)
13
 
14
- public function __construct( $prefix, $mainfile, $domain ) {
15
 
16
  // Core Admin (used by all Meow Apps plugins)
17
  if ( !MeowApps_Admin::$loaded ) {
@@ -36,9 +36,11 @@ if ( !class_exists( 'MeowApps_Admin' ) ) {
36
  if ( ( !empty( $license ) ) && !file_exists( plugin_dir_path( $this->mainfile ) . 'common/meowapps/admin.php' ) ) {
37
  add_action( 'admin_notices', array( $this, 'admin_notices_licensed_free' ) );
38
  }
39
- $rating_date = $this->create_rating_date();
40
- if ( time() > $rating_date ) {
41
- add_action( 'admin_notices', array( $this, 'admin_notices_rating' ) );
 
 
42
  }
43
  }
44
  }
11
  public $mainfile; // plugin main file (media-file-renamer.php)
12
  public $domain; // domain used for translation (media-file-renamer)
13
 
14
+ public function __construct( $prefix, $mainfile, $domain, $disableReview = false ) {
15
 
16
  // Core Admin (used by all Meow Apps plugins)
17
  if ( !MeowApps_Admin::$loaded ) {
36
  if ( ( !empty( $license ) ) && !file_exists( plugin_dir_path( $this->mainfile ) . 'common/meowapps/admin.php' ) ) {
37
  add_action( 'admin_notices', array( $this, 'admin_notices_licensed_free' ) );
38
  }
39
+ if ( !$disableReview ) {
40
+ $rating_date = $this->create_rating_date();
41
+ if ( time() > $rating_date ) {
42
+ add_action( 'admin_notices', array( $this, 'admin_notices_rating' ) );
43
+ }
44
  }
45
  }
46
  }
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: 4.6.3
7
  Author: Jordy Meow
8
  Author URI: https://meowapps.com
9
  Text Domain: media-cleaner
@@ -24,7 +24,7 @@ if ( class_exists( 'Meow_WPMC_Core' ) ) {
24
  if ( is_admin() ) {
25
 
26
  global $wpmc_version;
27
- $wpmc_version = '4.6.3';
28
 
29
  // Admin
30
  require __DIR__ . '/admin.php';
3
  Plugin Name: Media Cleaner
4
  Plugin URI: https://meowapps.com
5
  Description: Clean your Media Library, many options, trash system.
6
+ Version: 4.8.0
7
  Author: Jordy Meow
8
  Author URI: https://meowapps.com
9
  Text Domain: media-cleaner
24
  if ( is_admin() ) {
25
 
26
  global $wpmc_version;
27
+ $wpmc_version = '4.8.0';
28
 
29
  // Admin
30
  require __DIR__ . '/admin.php';
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === Media Cleaner ===
2
- Contributors: TigrouMeow
3
  Tags: clean, delete, file, files, images, image, media, library, upload, clean, acf
4
  Requires at least: 4.2
5
  Tested up to: 4.9.4
6
- Stable tag: 4.6.3
7
 
8
  Clean your WordPress (broken media, unused media, files). It has its own trash and recovery features. Please read the description.
9
 
@@ -42,6 +42,11 @@ The official FAQ is [here](https://meowapps.com/wplr-sync/faq/).
42
 
43
  == Changelog ==
44
 
 
 
 
 
 
45
  = 4.6.3 =
46
  * Add: Added an option to only scan the thumbnails and ignore the base files.
47
  * Add: ACF Repeater support.
1
  === Media Cleaner ===
2
+ Contributors: TigrouMeow, amekusa
3
  Tags: clean, delete, file, files, images, image, media, library, upload, clean, acf
4
  Requires at least: 4.2
5
  Tested up to: 4.9.4
6
+ Stable tag: 4.8.0
7
 
8
  Clean your WordPress (broken media, unused media, files). It has its own trash and recovery features. Please read the description.
9
 
42
 
43
  == Changelog ==
44
 
45
+ = 4.8.0 =
46
+ * Update: Many parts of the UI were rewritten for a better experience. Buttons have a nicer logic.
47
+ * Add: Enhanced error control. From now, when an error occurs during the scan, a popup will appear (asking to try again, or to skip the current item), and errors will be logged to the console.
48
+ * Info: Please help this plugin survive by giving me a nice review, here: https://wordpress.org/support/plugin/meow-lightbox/reviews/?rate=5#new-post. Thank you :)
49
+
50
  = 4.6.3 =
51
  * Add: Added an option to only scan the thumbnails and ignore the base files.
52
  * Add: ACF Repeater support.