diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index 537425d8981ab..3d0412630e1ca 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -1756,7 +1756,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; }