diff --git a/wp-admin/includes/class-wp-automatic-updater.php b/wp-admin/includes/class-wp-automatic-updater.php index e941f72faf..0862e29984 100644 --- a/wp-admin/includes/class-wp-automatic-updater.php +++ b/wp-admin/includes/class-wp-automatic-updater.php @@ -170,6 +170,11 @@ class WP_Automatic_Updater { $update = ! empty( $item->autoupdate ); } + // If the `disable_autoupdate` flag is set, override any user-choice, but allow filters. + if ( ! empty( $item->disable_autoupdate ) ) { + $update = $item->disable_autoupdate; + } + /** * Filters whether to automatically update core, a plugin, a theme, or a language. * diff --git a/wp-includes/version.php b/wp-includes/version.php index bb4374ad51..08c76295d1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-alpha-48700'; +$wp_version = '5.6-alpha-48701'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.