24 lines
No EOL
1.2 KiB
PHP
24 lines
No EOL
1.2 KiB
PHP
<?php
|
|
if (!defined('WORDFENCE_VERSION')) { exit; }
|
|
/**
|
|
* Presents the unsupported WP version modal.
|
|
*/
|
|
|
|
require(dirname(__FILE__) . '/../../lib/wfVersionSupport.php');
|
|
/**
|
|
* @var string $wfWordPressDeprecatingVersion
|
|
* @var string $wfWordPressMinimumVersion
|
|
*/
|
|
|
|
require(ABSPATH . 'wp-includes/version.php'); /** @var string $wp_version */
|
|
?>
|
|
<div style="padding: 10px; border: 2px solid #00709e; background-color: #fff; margin: 20px 20px 10px 0px; color: #00709e">
|
|
<img style="display: block; float: left; margin: 0 10px 0 0" src="<?php echo plugins_url('', WORDFENCE_FCPATH) . '/' ?>images/wordfence-logo.svg" alt="" width="35" height="35">
|
|
<p style="margin: 10px"><?php echo esc_html(sprintf(
|
|
/* translators: 1. WordPress version. 2. Wordfence version. 3. Minimum WordPress version. */
|
|
__('You are running WordPress version %1$s that is not supported by Wordfence %2$s. Wordfence features will not be available until WordPress has been upgraded. We recommend using the current version of WordPress, but Wordfence will run on WordPress version %3$s at a minimum.', 'wordfence'),
|
|
$wp_version,
|
|
WORDFENCE_VERSION,
|
|
$wfWordPressMinimumVersion
|
|
)) ?></p>
|
|
</div>
|