Media Cleaner - Version 5.0.0

Version Description

  • Update: Slight code cleaning.
  • Update: Checkboxes are updated dynamically.
  • Info: Media Cleaner is better than ever by going through so many improvements and optimizations this year. The plugin has also been perfectly stable for a few weeks, so I have decided to change its version number. 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 5.0.0
Comparing to
See all releases

Code changes from version 4.8.4 to 5.0.0

common/admin.css CHANGED
@@ -1,4 +1,64 @@
1
- /* MEOW BOX (SETTINGS BOX) */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
  .meow-box {
4
  box-sizing: border-box;
1
+ /* MEOW-TABS */
2
+
3
+ .meow-tabs {
4
+ display: flex;
5
+ flex-wrap: wrap;
6
+ box-sizing: border-box;
7
+ }
8
+
9
+ .meow-tabs * {
10
+ box-sizing: border-box;
11
+ }
12
+
13
+ .meow-tabs .meow-tabs-input {
14
+ position: absolute;
15
+ opacity: 0;
16
+ }
17
+
18
+ .meow-tabs .meow-tabs-label {
19
+ width: auto;
20
+ padding: 4px 12px;
21
+ background: #3c3c3c;
22
+ cursor: pointer;
23
+ font-weight: bold;
24
+ font-size: 13px;
25
+ text-transform: uppercase;
26
+ color: white;
27
+ transition: background 0.1s, color 0.1s;
28
+ }
29
+
30
+ .meow-tabs .inside {
31
+ display: none;
32
+ width: 100%;
33
+ }
34
+
35
+ .meow-tabs .meow-tabs-label:hover {
36
+ background: #36495f;
37
+ }
38
+
39
+ .meow-tabs .meow-tabs-label:active {
40
+ background: #3C82C7;
41
+ }
42
+
43
+ .meow-tabs .meow-tabs-input:focus + .meow-tabs-label {
44
+ box-shadow: inset 0px 0px 0px 3px #2aa1c0;
45
+ z-index: 1;
46
+ }
47
+
48
+ .meow-tabs .meow-tabs-input:checked + .meow-tabs-label {
49
+ background: #3C82C7 !important;
50
+ }
51
+
52
+ .meow-tabs-input:checked + .meow-tabs-label + .inside {
53
+ display: block;
54
+ order: 99;
55
+ }
56
+
57
+ .meow-tabs .inside {
58
+ background: #fff;
59
+ }
60
+
61
+ /* MEOW-BOX */
62
 
63
  .meow-box {
64
  box-sizing: border-box;
common/admin.php CHANGED
@@ -5,7 +5,7 @@ if ( !class_exists( 'MeowApps_Admin' ) ) {
5
  class MeowApps_Admin {
6
 
7
  public static $loaded = false;
8
- public static $admin_version = "1.4";
9
 
10
  public $prefix; // prefix used for actions, filters (mfrh)
11
  public $mainfile; // plugin main file (media-file-renamer.php)
@@ -154,8 +154,6 @@ if ( !class_exists( 'MeowApps_Admin' ) ) {
154
  if ( !empty( $this->prefix ) )
155
  $title = apply_filters( $this->prefix . '_plugin_title', $title );
156
  if ( $this->display_ads() ) {
157
- echo '<a class="meow-header-ad" target="_blank" href="http://www.shareasale.com/r.cfm?b=906810&u=767054&m=41388&urllink=&afftrack="">
158
- <img src="' . $this->common_url( 'img/wpengine.png' ) . '" height="60" border="0" /></a>';
159
  }
160
  ?>
161
  <h1 style="line-height: 16px;">
5
  class MeowApps_Admin {
6
 
7
  public static $loaded = false;
8
+ public static $admin_version = "1.6";
9
 
10
  public $prefix; // prefix used for actions, filters (mfrh)
11
  public $mainfile; // plugin main file (media-file-renamer.php)
154
  if ( !empty( $this->prefix ) )
155
  $title = apply_filters( $this->prefix . '_plugin_title', $title );
156
  if ( $this->display_ads() ) {
 
 
157
  }
158
  ?>
159
  <h1 style="line-height: 16px;">
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.8.4
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.8.4';
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: 5.0.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 = '5.0.0';
28
 
29
  // Admin
30
  require __DIR__ . '/admin.php';
readme.txt CHANGED
@@ -1,9 +1,9 @@
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.4
7
 
8
  Clean your WordPress (broken media, unused media, files). It has its own trash and recovery features. Please read the description.
9
 
@@ -34,7 +34,7 @@ A tutorial is available on the official website, here: [Media Cleaner](https://m
34
 
35
  == Frequently Asked Questions ==
36
 
37
- The official FAQ is [here](https://meowapps.com/wplr-sync/faq/).
38
 
39
  == Screenshots ==
40
 
@@ -42,12 +42,16 @@ The official FAQ is [here](https://meowapps.com/wplr-sync/faq/).
42
 
43
  == Changelog ==
44
 
 
 
 
 
 
45
  = 4.8.4 =
46
  * Fix: Issue with ACF Repeater.
47
  * Fix: Trash and Ignore features resulted in a weird behavior when used together.
48
  * Add: Now can delete the results of a search.
49
  * Update: Many UI improvements.
50
- * 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 :)
51
 
52
  = 4.8.0 =
53
  * Update: Many parts of the UI were rewritten for a better experience. Buttons have a nicer logic.
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.8
5
+ Tested up to: 4.9.8
6
+ Stable tag: 5.0.0
7
 
8
  Clean your WordPress (broken media, unused media, files). It has its own trash and recovery features. Please read the description.
9
 
34
 
35
  == Frequently Asked Questions ==
36
 
37
+ The official FAQ is [here](https://meowapps.com/media-cleaner/faq/).
38
 
39
  == Screenshots ==
40
 
42
 
43
  == Changelog ==
44
 
45
+ = 5.0.0 =
46
+ * Update: Slight code cleaning.
47
+ * Update: Checkboxes are updated dynamically.
48
+ * Info: Media Cleaner is better than ever by going through so many improvements and optimizations this year. The plugin has also been perfectly stable for a few weeks, so I have decided to change its version number. 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.8.4 =
51
  * Fix: Issue with ACF Repeater.
52
  * Fix: Trash and Ignore features resulted in a weird behavior when used together.
53
  * Add: Now can delete the results of a search.
54
  * Update: Many UI improvements.
 
55
 
56
  = 4.8.0 =
57
  * Update: Many parts of the UI were rewritten for a better experience. Buttons have a nicer logic.
views/menu-screen.php CHANGED
@@ -126,7 +126,7 @@
126
 
127
  <p>
128
  <?php
129
-
130
  $table_scan = $wpdb->prefix . "mclean_scan";
131
  $table_refs = $wpdb->prefix . "mclean_refs";
132
  if ( $wpdb->get_var("SHOW TABLES LIKE '$table_scan'") != $table_scan ||
126
 
127
  <p>
128
  <?php
129
+ $method = "";
130
  $table_scan = $wpdb->prefix . "mclean_scan";
131
  $table_refs = $wpdb->prefix . "mclean_refs";
132
  if ( $wpdb->get_var("SHOW TABLES LIKE '$table_scan'") != $table_scan ||