diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 3d0412630e..5c44f37e8a 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1757,7 +1757,10 @@ function is_blog_installed() { } $described_table = $wpdb->get_results( "DESCRIBE $table;" ); - if ( is_array( $described_table ) && count( $described_table ) === 0 ) { + if ( + ( ! $described_table && empty( $wpdb->last_error ) ) || + ( is_array( $described_table ) && 0 === count( $described_table ) ) + ) { continue; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 929e49b59c..971e33d1bd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-beta2-49451'; +$wp_version = '5.6-beta2-49452'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.