mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
Remove unused var
git-svn-id: http://svn.automattic.com/wordpress/trunk@9544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f597bae652
commit
74af1250f7
@ -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…
x
Reference in New Issue
Block a user