Media Cleaner - Version 4.5.7

Version Description

  • Update: Improve the code.
  • Fix: Debug logs weren't logging.
Download this release

Release Info

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

Code changes from version 4.5.6 to 4.5.7

Files changed (2) hide show
  1. media-cleaner.php +4 -3
  2. readme.txt +3 -2
media-cleaner.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Media Cleaner
4
  Plugin URI: http://meowapps.com
5
  Description: Clean your Media Library, many options, trash system.
6
- Version: 4.5.6
7
  Author: Jordy Meow
8
  Author URI: http://meowapps.com
9
  Text Domain: media-cleaner
@@ -27,7 +27,7 @@ if ( class_exists( 'Meow_WPMC_Core' ) ) {
27
  if ( is_admin() ) {
28
 
29
  global $wpmc_version;
30
- $wpmc_version = '4.5.6';
31
 
32
  // Admin
33
  require( 'wpmc_admin.php' );
@@ -35,7 +35,8 @@ if ( is_admin() ) {
35
 
36
  // Core
37
  require( 'core.php' );
38
- new Meow_WPMC_Core( $wpmc_admin );
 
39
 
40
  /*******************************************************************************
41
  * TODO: OLD PRO, THIS FUNCTION SHOULD BE REMOVED IN THE FUTURE
3
  Plugin Name: Media Cleaner
4
  Plugin URI: http://meowapps.com
5
  Description: Clean your Media Library, many options, trash system.
6
+ Version: 4.5.7
7
  Author: Jordy Meow
8
  Author URI: http://meowapps.com
9
  Text Domain: media-cleaner
27
  if ( is_admin() ) {
28
 
29
  global $wpmc_version;
30
+ $wpmc_version = '4.5.7';
31
 
32
  // Admin
33
  require( 'wpmc_admin.php' );
35
 
36
  // Core
37
  require( 'core.php' );
38
+ $wpmc_core = new Meow_WPMC_Core( $wpmc_admin );
39
+ $wpmc_admin->core = $wpmc_core;
40
 
41
  /*******************************************************************************
42
  * TODO: OLD PRO, THIS FUNCTION SHOULD BE REMOVED IN THE FUTURE
readme.txt CHANGED
@@ -3,7 +3,7 @@ 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.5.6
7
 
8
  Clean your WordPress (broken media, unused media, files). It has its own trash and recovery features. Please read the description.
9
 
@@ -50,8 +50,9 @@ It re-creates the Media Cleaner table in the database. You will need to re-run t
50
 
51
  == Changelog ==
52
 
53
- = 4.5.6 =
54
  * Update: Improve the code.
 
55
 
56
  = 4.5.4 =
57
  * Update: Streamlined the plugin, tutorial has also been rewritten.
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.5.7
7
 
8
  Clean your WordPress (broken media, unused media, files). It has its own trash and recovery features. Please read the description.
9
 
50
 
51
  == Changelog ==
52
 
53
+ = 4.5.7 =
54
  * Update: Improve the code.
55
+ * Fix: Debug logs weren't logging.
56
 
57
  = 4.5.4 =
58
  * Update: Streamlined the plugin, tutorial has also been rewritten.