Files
Testing/tbb/wp-content/plugins/w3-total-cache/w3-total-cache-old-php.php
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -05:00

33 lines
519 B
PHP

<?php
if ( !defined( 'ABSPATH' ) ) {
die();
}
function w3tc_old_php_message() {
$m = __( 'Please update your PHP. <strong>W3 Total Cache</strong> requires PHP version 5.3 or above',
'w3-total-cache' );
return $m;
}
function w3tc_old_php_activate() {
echo w3tc_old_php_message();
exit();
}
function w3tc_old_php_admin_notices() {
?>
<div class="notice error notice-error">
<p><?php echo w3tc_old_php_message(); ?></p>
</div>
<?php
}
add_action( 'admin_notices', 'w3tc_old_php_admin_notices' );