Remove unused var
git-svn-id: https://develop.svn.wordpress.org/trunk@9544 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7e60469f08
commit
8796e7cfe1
@ -34,9 +34,6 @@ function wp_version_check() {
|
||||
$current->version_checked == $wp_version
|
||||
)
|
||||
return false;
|
||||
$new_option = '';
|
||||
$new_option->last_checked = time(); // this gets set whether we get a response or not, so if something is down or misconfigured it won't delay the page load for more than 3 seconds, twice a day
|
||||
$new_option->version_checked = $wp_version;
|
||||
|
||||
if ( method_exists( $wpdb, 'db_version' ) )
|
||||
$mysql_version = preg_replace('/[^0-9.].*/', '', $wpdb->db_version($wpdb->users));
|
||||
|
Loading…
Reference in New Issue
Block a user