diff --git a/wp-includes/functions.php b/wp-includes/functions.php index b07ecb7f4d..12e7e05a33 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1753,7 +1753,8 @@ function is_blog_installed() { continue; } - if ( ! $wpdb->get_results( "DESCRIBE $table;" ) ) { + $described_table = $wpdb->get_results( "DESCRIBE $table;" ); + if ( is_array( $described_table ) && count( $described_table ) === 0 ) { continue; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 955968a47d..a5ffe22704 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5.2-alpha-49376'; +$wp_version = '5.5.2-alpha-49377'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.