Use correct object. props adambackstrom. fixes #19045.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
28e10d8f2b
commit
1c9abd21ca
|
@ -337,7 +337,7 @@ function update_core($from, $to) {
|
||||||
$required_mysql_version = '5.0';
|
$required_mysql_version = '5.0';
|
||||||
$wp_version = '3.3';
|
$wp_version = '3.3';
|
||||||
$php_compat = version_compare( $php_version, $required_php_version, '>=' );
|
$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;
|
$mysql_compat = true;
|
||||||
else
|
else
|
||||||
$mysql_compat = version_compare( $mysql_version, $required_mysql_version, '>=' );
|
$mysql_compat = version_compare( $mysql_version, $required_mysql_version, '>=' );
|
||||||
|
|
Loading…
Reference in New Issue