Fix typo. see #11464

git-svn-id: https://develop.svn.wordpress.org/trunk@12426 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-12-17 16:22:54 +00:00
parent 5322564b92
commit dbad0d7271
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ function update_core($from, $to) {
$php_version = phpversion();
$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' );
if ( !$mysql_compat && !$php_compat )