_maybe_update_core [ WordPress Function ]
_maybe_update_core ( No parameters )
| Defined at: |
|
Soorgelijke functies: _maybe_update_themes, update_core, wp_update_core, _maybe_update_plugins, wp_theme_update_row
No description yet.
Source
<?php
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();
}
?>
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- _maybe_update_core() WordPress function reference, arguments ...
function _maybe_update_core() { include ABSPATH . WPINC . '/version.php'; // include an unmodified $wp_version $current = get_site_transient( 'update_core' ) ...
queryposts.com - Disable the Wordpress core upgrade function for your clients | Asher ...
Feb 21, 2011 ... remove_action( 'admin_init', '_maybe_update_core' ); add_filter( ' pre_transient_update_core', create_function( '$a', “return null;” ) );. # 3.0: ...
www.ashercharles.com - Docs for page update.php
mixed wp_version_check (). _maybe_update_core (line 369). void _maybe_update_core (). Documentation generated on Fri, 11 May 2012 23:18: 30 +0000 by ...
phpdoc.wordpress.org - #13732 (Why are we _maybe_update'ing on admin-ajax ...
I did some bebugging, and found that the function _maybe_update_core is called ... Once for _maybe_update_core and once for upgrade.php?action=upgrade ...
core.trac.wordpress.org