Make WordPress Core

Ticket #51676: 51676.2.diff

File 51676.2.diff, 524 bytes (added by xknown, 4 years ago)
  • src/wp-includes/functions.php

    diff --git src/wp-includes/functions.php src/wp-includes/functions.php
    index 3d0412630e..1c5b91ddbb 100644
    function is_blog_installed() { 
    17571757                }
    17581758
    17591759                $described_table = $wpdb->get_results( "DESCRIBE $table;" );
    1760                 if ( is_array( $described_table ) && count( $described_table ) === 0 ) {
     1760                if ( ! $described_table && empty( $wpdb->last_error ) || is_array( $described_table ) && count( $described_table ) === 0 ) {
    17611761                        continue;
    17621762                }
    17631763