' . sprintf( /* translators: 1: version of the copy that is running, 2: file path of the copy that stood down. */ esc_html__( 'Two copies of AI-O Optimiser are installed. Version %1$s loaded first and is running; the copy at %2$s has stood down to avoid a fatal error. Deactivate and delete whichever copy you do not want, then reactivate the other.', 'ai-o-optimiser' ), esc_html( AI_O_Optimiser_VERSION ), esc_html( str_replace( ABSPATH, '', __FILE__ ) ) ) . '

'; } ); return; } define( 'AI_O_Optimiser_MIN_WP_VERSION', '6.9' ); define( 'AI_O_Optimiser_NATIVE_AI_MIN_WP_VERSION', '7.0' ); define( 'AI_O_Optimiser_MIN_PHP_VERSION', '8.0' ); define( 'AI_O_Optimiser_VERSION', '1.37.18' ); define( 'AI_O_Optimiser_PRODUCT_NAME', 'AI-O Optimiser' ); define( 'AI_O_Optimiser_PLUGIN_FILE', __FILE__ ); define( 'AI_O_Optimiser_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); define( 'AI_O_Optimiser_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); define( 'AI_O_Optimiser_TABLE_NAME', 'ai_o_optimiser_crawler_log' ); define( 'AI_O_Optimiser_NIGHTLY_HEALTH_HOOK', 'ai_o_optimiser_nightly_health_check' ); define( 'AI_O_Optimiser_SENSITIVE_CAPABILITY', 'manage_ai_o_optimiser_sensitive' ); // Mirrors AI_O_Optimiser_Migration::STATE_OPTION. Declared here so the upgrade // gate can read it without paying the parse cost of the migration class on // every request. tests/migration-upgrade-ordering.php asserts the two match. define( 'AI_O_Optimiser_MIGRATION_STATE_OPTION', 'ai_o_optimiser_migration_1203' ); /* * Declarations live in the runtime file, not here, so the guard above can work * at all -- see the comment at the top of that file. */ require_once AI_O_Optimiser_PLUGIN_DIR . 'includes/ai-o-optimiser-runtime.php';