This commit is contained in:
Javier Casares 2026-11-04 18:53:49 +00:00
commit fe4af85929

View file

@ -3,10 +3,10 @@
* Plugin Name: Media Audit (by ROBOTSTXT)
* Plugin URI: https://www.robotstxt.software/plugins/robotstxt-mediaaudit/
* Description: Internal media library usage auditing and external reverse image search to detect potential copyright issues.
* Version: 1.9.0
* Requires at least: 5.3
* Tested up to: 7.1
* Requires PHP: 8.0
* Version: 1.9.1
* Requires at least: 7.0
* Tested up to: 7.2
* Requires PHP: 8.3
* Update URI: https://www.robotstxt.software/plugins/robotstxt-mediaaudit/
* Network: true
* Author: ROBOTSTXT
@ -24,12 +24,24 @@ if ( ! defined( 'ABSPATH' ) ) {
exit;
}
define( 'ROBOTSTXT_MEDIAAUDIT_VERSION', '1.9.0' );
define( 'ROBOTSTXT_MEDIAAUDIT_VERSION', '1.9.1' );
define( 'ROBOTSTXT_MEDIAAUDIT_DB_VERSION', '1.3.0' );
define( 'ROBOTSTXT_MEDIAAUDIT_PLUGIN_FILE', __FILE__ );
define( 'ROBOTSTXT_MEDIAAUDIT_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'ROBOTSTXT_MEDIAAUDIT_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
/*
* Admin menu icon: base64 SVG (the dashicons camera glyph), rendered by
* WordPress as a background image. Core replaces dashicons in the admin
* menu with inline SVG (wp_get_icon(), WP 7.2), but data-URI SVG icons
* keep working on every supported WordPress version, so this is the
* cross-version-safe way to ship a vector menu icon.
*/
define(
'ROBOTSTXT_MEDIAAUDIT_MENU_ICON',
'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCI+PHBhdGggZmlsbD0iI2MzYzRjNyIgZD0iTTYgNVYzSDN2Mmgzem0xMiAxMFY0SDlMNyA2SDJ2OWgxNnptLTctOGMxLjY2IDAgMyAxLjM0IDMgM3MtMS4zNCAzLTMgMy0zLTEuMzQtMy0zIDEuMzQtMyAzLTN6Ii8+PC9zdmc+'
);
require_once ROBOTSTXT_MEDIAAUDIT_PLUGIN_DIR . 'vendor/autoload.php';
/*