WordPress.org

Make WordPress Core

Ticket #19045: 19045.diff

File 19045.diff, 652 bytes (added by adambackstrom, 7 years ago)
  • wp-admin/includes/update-core.php

     
    337337        $required_mysql_version = '5.0';
    338338        $wp_version = '3.3';
    339339        $php_compat     = version_compare( $php_version, $required_php_version, '>=' );
    340         if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $this->is_mysql ) )
     340        if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
    341341                $mysql_compat = true;
    342342        else
    343343                $mysql_compat = version_compare( $mysql_version, $required_mysql_version, '>=' );