diff --git a/wp-admin/includes/update-core.php b/wp-admin/includes/update-core.php index 2c05d16188..b249c11275 100644 --- a/wp-admin/includes/update-core.php +++ b/wp-admin/includes/update-core.php @@ -1199,7 +1199,7 @@ function update_core( $from, $to ) { } // Add a warning when required PHP extensions are missing. - if ( $missing_extensions->has_errors() ) { + if ( ! empty( $missing_extensions->errors ) ) { return $missing_extensions; } } diff --git a/wp-includes/version.php b/wp-includes/version.php index c1d5be5684..c2df62ec37 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-beta1-59955'; +$wp_version = '6.8-beta1-59956'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.