diff --git a/wp-admin/includes/class-wp-automatic-updater.php b/wp-admin/includes/class-wp-automatic-updater.php index a1efdc2bb2..77a4149406 100644 --- a/wp-admin/includes/class-wp-automatic-updater.php +++ b/wp-admin/includes/class-wp-automatic-updater.php @@ -214,8 +214,8 @@ class WP_Automatic_Updater { } } - // If updating a plugin, ensure the minimum PHP version requirements are satisfied. - if ( 'plugin' === $type ) { + // If updating a plugin or theme, ensure the minimum PHP version requirements are satisfied. + if ( in_array( $type, array( 'plugin', 'theme' ), true ) ) { if ( ! empty( $item->requires_php ) && version_compare( phpversion(), $item->requires_php, '<' ) ) { return false; } diff --git a/wp-includes/version.php b/wp-includes/version.php index ab8d242d38..810cb6d717 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-48070'; +$wp_version = '5.5-alpha-48071'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.