Remove passing of spurious argument to wpdb->db_version().
git-svn-id: https://develop.svn.wordpress.org/trunk@12348 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f27073a3d8
commit
daa0430927
@ -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
Block a user