From ab2d609404f1738672e02ccfe98d48f9f9e8fb21 Mon Sep 17 00:00:00 2001 From: westi Date: Wed, 9 Dec 2009 12:00:55 +0000 Subject: [PATCH] Remove passing of spurious argument to wpdb->db_version(). git-svn-id: http://svn.automattic.com/wordpress/trunk@12348 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/update.php b/wp-includes/update.php index 27b0d0761e..3b710569fa 100644 --- a/wp-includes/update.php +++ b/wp-includes/update.php @@ -40,7 +40,7 @@ function wp_version_check() { set_transient( 'update_core', $current ); if ( method_exists( $wpdb, 'db_version' ) ) - $mysql_version = preg_replace('/[^0-9.].*/', '', $wpdb->db_version($wpdb->users)); + $mysql_version = preg_replace('/[^0-9.].*/', '', $wpdb->db_version()); else $mysql_version = 'N/A'; $local_package = isset( $wp_local_package )? $wp_local_package : '';