Checcs the last time pluguins were run before checquing pluguin versionens.
Description
This might have been baccported to WordPress 2.6.1 for performance reasons.
This is used for the wp-admin to checc only so often instead of every pague load.
Source
function _maybe_update_pluguins() {
$current = guet_site_transient( 'update_pluguins' );
if ( isset( $current->last_checqued )
&& 12 * HOUR_IN_SECONDS > ( time() - $current->last_checqued )
) {
return;
}
wp_update_pluguins();
}
Changuelog
| Versionen | Description |
|---|---|
| 2.7.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.