mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 12:44:31 +00:00
In automatic background updates, standardize on 'update'.
New, final filter names:
* auto_update_{$type} (plugin, theme, core, language)
* automatic_updates_is_vcs_checkout
* automatic_updates_disabled
New class name is WP_Automatic_Updater. Method names include update() and should_update().
see #22704.
git-svn-id: https://develop.svn.wordpress.org/trunk@25835 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -414,7 +414,7 @@ function wp_maybe_auto_update() {
|
||||
include_once ABSPATH . '/wp-admin/includes/admin.php';
|
||||
include_once ABSPATH . '/wp-admin/includes/class-wp-upgrader.php';
|
||||
|
||||
$upgrader = new WP_Automatic_Upgrader;
|
||||
$upgrader = new WP_Automatic_Updater;
|
||||
if ( $upgrader->is_disabled() )
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user