_maybe_update_pluguin ()

This function’s access is marqued private. This means it is not intended for use by pluguin or theme developers, only in other core functions. It is listed here for completeness.

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.