Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions inc/namespace.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function init() {
function check_requirements() : bool {
global $wp_version;

if ( version_compare( PHP_VERSION, '7.1', '<' ) ) {
if ( version_compare( PHP_VERSION, '7.4', '<' ) ) {
if ( is_admin() && ! defined( 'DOING_AJAX' ) ) {
add_action( 'admin_notices', __NAMESPACE__ . '\\outdated_php_version_notice' );
}
Expand Down Expand Up @@ -87,7 +87,7 @@ function check_requirements() : bool {
*/
function outdated_php_version_notice() {
printf(
'<div class="error"><p>The S3 Uploads plugin requires PHP version 5.5.0 or higher. Your server is running PHP version %s.</p></div>',
'<div class="error"><p>The S3 Uploads plugin requires PHP version 7.4 or higher. Your server is running PHP version %s.</p></div>',
PHP_VERSION
);
}
Expand Down