From 81321bd367a4b92b4765d9b8fe390edf03f7b550 Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 17 Dec 2009 16:22:54 +0000 Subject: [PATCH] Fix typo. see #11464 git-svn-id: http://svn.automattic.com/wordpress/trunk@12426 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/update-core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/update-core.php b/wp-admin/includes/update-core.php index b9ddbbf0b7..28a825ee6c 100644 --- a/wp-admin/includes/update-core.php +++ b/wp-admin/includes/update-core.php @@ -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 )