-
Notifications
You must be signed in to change notification settings - Fork 5
/
requirements-error.php
51 lines (45 loc) · 1.24 KB
/
requirements-error.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php defined( 'WPINC' ) || die; ?>
<div class="error">
<p>
<?php esc_html_e(
"Quick Navigation Interface error: Your environment doesn't meet all of the system requirements listed below.",
'quick-navigation-interface'
); ?>
</p>
<ul class="ul-disc">
<li>
<strong>
<?php echo esc_html( sprintf(
__( 'PHP %s+', 'quick-navigation-interface' ),
QNI_REQUIRED_PHP_VERSION
) ); ?>
</strong>
<em>
<?php echo esc_html( sprintf(
__( "(You're running version %s)", 'quick-navigation-interface' ),
PHP_VERSION
) ); ?>
</em>
</li>
<li>
<strong>
<?php echo esc_html( sprintf(
__( 'WordPress %s+', 'quick-navigation-interface' ),
QNI_REQUIRED_WP_VERSION
) ); ?>
</strong>
<em>
<?php echo esc_html( sprintf(
__( "(You're running version %s)", 'quick-navigation-interface' ),
$wp_version
) ); ?>
</em>
</li>
</ul>
<p>
<?php echo wp_kses_data( sprintf(
__( 'If you need to upgrade your version of PHP you can ask your hosting company for assistance, and if you need help upgrading WordPress you can refer to <a href="%s">the Codex</a>.', 'quick-navigation-interface' ),
'https://wordpress.org/support/article/updating-wordpress/'
) ); ?>
</p>
</div>