Version Description
- Add: Support for Yoast SEO and its Facebook Image.
- Add: Support for Elementor and Oxygen Builder.
- Add: Support for ACF File Field.
- Update: Better support for WP CLI.
- Fix: Make sure the HTML is UTF8 encoded before analyzing it.
- Update: Removed affiliate links to BlogVault in the Readme as it seems to be against the WordPress guidelines.
Download this release
Release Info
Developer | TigrouMeow |
Plugin | Media Cleaner |
Version | 5.4.3 |
Comparing to | |
See all releases |
Code changes from version 5.4.2 to 5.4.3
- media-cleaner.php +2 -2
- parsers/wpseo.php +15 -0
- readme.txt +2 -2
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.4.
|
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.4.
|
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.4.3
|
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.4.3';
|
29 |
|
30 |
require __DIR__ . '/admin.php';
|
31 |
require __DIR__ . '/core.php';
|
parsers/wpseo.php
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
add_action( 'wpmc_scan_postmeta', 'wpmc_scan_postmeta_wpseo', 10, 1 );
|
4 |
+
|
5 |
+
function wpmc_scan_postmeta_wpseo( $id ) {
|
6 |
+
global $wpmc;
|
7 |
+
$data = get_post_meta( $id, '_yoast_wpseo_opengraph-image', true );
|
8 |
+
if ( !empty( $data ) )
|
9 |
+
$wpmc->add_reference_url( $data, 'META (URL)' );
|
10 |
+
$data = get_post_meta( $id, '_yoast_wpseo_opengraph-image-id', true );
|
11 |
+
if ( !empty( $data ) )
|
12 |
+
$wpmc->add_reference_id( $data, 'META (ID)' );
|
13 |
+
}
|
14 |
+
|
15 |
+
?>
|
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.2
|
7 |
Requires PHP: 7.0
|
8 |
-
Stable tag: 5.4.
|
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 |
|
@@ -71,7 +71,7 @@ Last but not least, and... again: this plugin deletes files. Be careful! Backup
|
|
71 |
|
72 |
== Changelog ==
|
73 |
|
74 |
-
= 5.4.
|
75 |
* Add: Support for Yoast SEO and its Facebook Image.
|
76 |
* Add: Support for Elementor and Oxygen Builder.
|
77 |
* Add: Support for ACF File Field.
|
5 |
Requires at least: 4.8
|
6 |
Tested up to: 5.2
|
7 |
Requires PHP: 7.0
|
8 |
+
Stable tag: 5.4.3
|
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 |
|
71 |
|
72 |
== Changelog ==
|
73 |
|
74 |
+
= 5.4.3 =
|
75 |
* Add: Support for Yoast SEO and its Facebook Image.
|
76 |
* Add: Support for Elementor and Oxygen Builder.
|
77 |
* Add: Support for ACF File Field.
|