Fix typo. see #11464

git-svn-id: http://svn.automattic.com/wordpress/trunk@12426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-12-17 16:22:54 +00:00
parent 28d836c672
commit 81321bd367
1 changed files with 1 additions and 1 deletions

View File

@ -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 )