Version Description
(2022/05/05) = * Fix: There were a few warnings related to undeclared arrays. * Add: Support for Metabox. * Info: New plugin the the family! It is simply called Database Cleaner, and it aims to be... the best Database Cleaner! You can find it here. * Info: I am working hard on Media Cleaner. If you want to give me some love and motivation, write a simple and nice review here. Thank you so much!
Download this release
Release Info
Developer | TigrouMeow |
Plugin | Media Cleaner |
Version | 6.3.5 |
Comparing to | |
See all releases |
Code changes from version 6.3.4 to 6.3.5
- classes/core.php +3 -0
- classes/support.php +4 -0
- media-cleaner.php +2 -2
- readme.txt +7 -3
classes/core.php
CHANGED
@@ -408,6 +408,9 @@ class Meow_WPMC_Core {
|
|
408 |
// Parse a meta, visit all the arrays, look for the attributes, fill $ids and $urls arrays
|
409 |
// If rawMode is enabled, it will not check if the value is an ID or an URL, it will just returns it in URLs
|
410 |
function get_from_meta( $meta, $lookFor, &$ids, &$urls, $rawMode = false ) {
|
|
|
|
|
|
|
411 |
foreach ( $meta as $key => $value ) {
|
412 |
if ( is_object( $value ) || is_array( $value ) )
|
413 |
$this->get_from_meta( $value, $lookFor, $ids, $urls, $rawMode );
|
408 |
// Parse a meta, visit all the arrays, look for the attributes, fill $ids and $urls arrays
|
409 |
// If rawMode is enabled, it will not check if the value is an ID or an URL, it will just returns it in URLs
|
410 |
function get_from_meta( $meta, $lookFor, &$ids, &$urls, $rawMode = false ) {
|
411 |
+
if ( !is_array( $meta ) ) {
|
412 |
+
return;
|
413 |
+
}
|
414 |
foreach ( $meta as $key => $value ) {
|
415 |
if ( is_object( $value ) || is_array( $value ) )
|
416 |
$this->get_from_meta( $value, $lookFor, $ids, $urls, $rawMode );
|
classes/support.php
CHANGED
@@ -144,6 +144,10 @@ class Meow_WPMC_Support {
|
|
144 |
array_push( $unsupported, 'Photo Gallery (10Web)' );
|
145 |
}
|
146 |
|
|
|
|
|
|
|
|
|
147 |
return $unsupported;
|
148 |
}
|
149 |
}
|
144 |
array_push( $unsupported, 'Photo Gallery (10Web)' );
|
145 |
}
|
146 |
|
147 |
+
if ( function_exists( 'rwmb_get_object_fields' ) ) {
|
148 |
+
array_push( $unsupported, 'Metabox' );
|
149 |
+
}
|
150 |
+
|
151 |
return $unsupported;
|
152 |
}
|
153 |
}
|
media-cleaner.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Media Cleaner
|
4 |
Plugin URI: https://meowapps.com
|
5 |
Description: Clean your WordPress from unused or broken media entries and files.
|
6 |
-
Version: 6.3.
|
7 |
Author: Jordy Meow
|
8 |
Author URI: https://jordymeow.com
|
9 |
Text Domain: media-cleaner
|
@@ -14,7 +14,7 @@ Originally developed for two of my websites:
|
|
14 |
*/
|
15 |
|
16 |
if ( !defined( 'WPMC_VERSION' ) ) {
|
17 |
-
define( 'WPMC_VERSION', '6.3.
|
18 |
define( 'WPMC_PREFIX', 'wpmc' );
|
19 |
define( 'WPMC_DOMAIN', 'media-cleaner' );
|
20 |
define( 'WPMC_ENTRY', __FILE__ );
|
3 |
Plugin Name: Media Cleaner
|
4 |
Plugin URI: https://meowapps.com
|
5 |
Description: Clean your WordPress from unused or broken media entries and files.
|
6 |
+
Version: 6.3.5
|
7 |
Author: Jordy Meow
|
8 |
Author URI: https://jordymeow.com
|
9 |
Text Domain: media-cleaner
|
14 |
*/
|
15 |
|
16 |
if ( !defined( 'WPMC_VERSION' ) ) {
|
17 |
+
define( 'WPMC_VERSION', '6.3.5' );
|
18 |
define( 'WPMC_PREFIX', 'wpmc' );
|
19 |
define( 'WPMC_DOMAIN', 'media-cleaner' );
|
20 |
define( 'WPMC_ENTRY', __FILE__ );
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Donate link: https://meowapps.com/donation/
|
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 5.9.3
|
7 |
Requires PHP: 7.0
|
8 |
-
Stable tag: 6.3.
|
9 |
|
10 |
Clean your WordPress from unused files, broken media entries. Powerful engine and beautiful UI!
|
11 |
|
@@ -79,12 +79,16 @@ To make everything perfect, you will also need to clean and optimize your databa
|
|
79 |
|
80 |
== Changelog ==
|
81 |
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
= 6.3.4 (2022/04/29) =
|
83 |
* Fix: Issue with Elementor.
|
84 |
* Fix: Issue with JetEngine.
|
85 |
* Add: Support for ACF Photo Gallery.
|
86 |
-
* Info: New plugin the the family! 🎉 It is simply called Database Cleaner, and it aims to be... the best Database Cleaner! You can find it [here](https://wordpress.org/plugins/database-cleaner).
|
87 |
-
* Info: I am working hard on Media Cleaner. If you want to give me some love and motivation, write a simple and nice review [here](https://wordpress.org/support/plugin/media-cleaner/reviews/?rate=5#new-post). Thank you so much! 💖
|
88 |
|
89 |
= 6.3.2 (2022/03/22) =
|
90 |
* Fix: Better support for WebP.
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 5.9.3
|
7 |
Requires PHP: 7.0
|
8 |
+
Stable tag: 6.3.5
|
9 |
|
10 |
Clean your WordPress from unused files, broken media entries. Powerful engine and beautiful UI!
|
11 |
|
79 |
|
80 |
== Changelog ==
|
81 |
|
82 |
+
= 6.3.5 (2022/05/05) =
|
83 |
+
* Fix: There were a few warnings related to undeclared arrays.
|
84 |
+
* Add: Support for Metabox.
|
85 |
+
* Info: New plugin the the family! 🎉 It is simply called Database Cleaner, and it aims to be... the best Database Cleaner! You can find it [here](https://wordpress.org/plugins/database-cleaner).
|
86 |
+
* Info: I am working hard on Media Cleaner. If you want to give me some love and motivation, write a simple and nice review [here](https://wordpress.org/support/plugin/media-cleaner/reviews/?rate=5#new-post). Thank you so much! 💖
|
87 |
+
|
88 |
= 6.3.4 (2022/04/29) =
|
89 |
* Fix: Issue with Elementor.
|
90 |
* Fix: Issue with JetEngine.
|
91 |
* Add: Support for ACF Photo Gallery.
|
|
|
|
|
92 |
|
93 |
= 6.3.2 (2022/03/22) =
|
94 |
* Fix: Better support for WebP.
|