You appear to be a bot. Output may be restricted
Description
Determines whether core should be updated.
Usage
_maybe_update_core();
Parameters
Returns
void
Source
File name: wordpress/wp-includes/update.php
Lines: 1 to 13 of 13
function _maybe_update_core() { // include an unmodified $wp_version include( ABSPATH . WPINC . '/version.php' ); $current = get_site_transient( 'update_core' ); if ( isset( $current->last_checked, $current->version_checked ) && 12 * HOUR_IN_SECONDS > ( time() - $current->last_checked ) && $current->version_checked == $wp_version ) { return; } wp_version_check(); }