Use correct object. props adambackstrom. fixes #19045.
git-svn-id: https://develop.svn.wordpress.org/trunk@19066 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
95eff833c8
commit
b7b6a7e5ae
@ -337,7 +337,7 @@ function update_core($from, $to) {
|
||||
$required_mysql_version = '5.0';
|
||||
$wp_version = '3.3';
|
||||
$php_compat = version_compare( $php_version, $required_php_version, '>=' );
|
||||
if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $this->is_mysql ) )
|
||||
if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
|
||||
$mysql_compat = true;
|
||||
else
|
||||
$mysql_compat = version_compare( $mysql_version, $required_mysql_version, '>=' );
|
||||
|
Loading…
Reference in New Issue
Block a user