_maybe_update_core

Definition:
function _maybe_update_core() {}

Source code

function _maybe_update_core() {

	include ABSPATH . WPINC . '/version.php'; // include an unmodified $wp_version



	$current = get_site_transient( 'update_core' );



	if ( isset( $current->last_checked ) &&

		43200 > ( time() - $current->last_checked ) &&

		isset( $current->version_checked ) &&

		$current->version_checked == $wp_version )

		return;



	wp_version_check();

}

4337

Advertisements

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: