Fix typo. see #11464
git-svn-id: http://svn.automattic.com/wordpress/trunk@12426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
28d836c672
commit
81321bd367
|
@ -221,7 +221,7 @@ function update_core($from, $to) {
|
||||||
|
|
||||||
$php_version = phpversion();
|
$php_version = phpversion();
|
||||||
$php_compat = version_compare( $php_version, '4.3', '>=' );
|
$php_compat = version_compare( $php_version, '4.3', '>=' );
|
||||||
$mysql_version = $wpdb->db_version;
|
$mysql_version = $wpdb->db_version();
|
||||||
$mysql_compat = version_compare( $mysql_version, '4.1.2', '>=' ) || file_exists( WP_CONTENT_DIR . '/db.php' );
|
$mysql_compat = version_compare( $mysql_version, '4.1.2', '>=' ) || file_exists( WP_CONTENT_DIR . '/db.php' );
|
||||||
|
|
||||||
if ( !$mysql_compat && !$php_compat )
|
if ( !$mysql_compat && !$php_compat )
|
||||||
|
|
Loading…
Reference in New Issue