This commit is contained in:
Javier Casares 2026-08-24 12:10:32 +00:00
commit a558ac478c

View file

@ -3,11 +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.8.3
* Version: 1.9.0
* Requires at least: 5.3
* Tested up to: 7.1
* Requires PHP: 8.0
* Requires Plugins: action-scheduler
* Update URI: https://www.robotstxt.software/plugins/robotstxt-mediaaudit/
* Network: true
* Author: ROBOTSTXT
@ -25,7 +24,7 @@ if ( ! defined( 'ABSPATH' ) ) {
exit;
}
define( 'ROBOTSTXT_MEDIAAUDIT_VERSION', '1.8.3' );
define( 'ROBOTSTXT_MEDIAAUDIT_VERSION', '1.9.0' );
define( 'ROBOTSTXT_MEDIAAUDIT_DB_VERSION', '1.3.0' );
define( 'ROBOTSTXT_MEDIAAUDIT_PLUGIN_FILE', __FILE__ );
define( 'ROBOTSTXT_MEDIAAUDIT_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
@ -33,6 +32,15 @@ define( 'ROBOTSTXT_MEDIAAUDIT_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
require_once ROBOTSTXT_MEDIAAUDIT_PLUGIN_DIR . 'vendor/autoload.php';
/*
* Action Scheduler is bundled via Composer (woocommerce/action-scheduler).
* The require is unconditional by design: the library self-arbitrates when
* other plugins load their own copy — every host registers its version and
* only the newest registered version initializes. All files are guarded
* against double loading.
*/
require_once ROBOTSTXT_MEDIAAUDIT_PLUGIN_DIR . 'vendor/woocommerce/action-scheduler/action-scheduler.php';
use MediaRightsAudit\Core\Activator;
use MediaRightsAudit\Core\Deactivator;
use MediaRightsAudit\Core\NetworkActivator;