Remove passing of spurious argument to wpdb->db_version().
git-svn-id: http://svn.automattic.com/wordpress/trunk@12348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b52703b322
commit
ab2d609404
|
@ -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 : '';
|
||||
|
|
Loading…
Reference in New Issue