From 2e246c302b6259301ccae3b167d11833e0a79f6d Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Fri, 19 Nov 2021 14:18:17 +0000 Subject: [PATCH] Upgrade/Install: Improve the accuracy of the `auto_update_{$type}` filter docblock. This updates the filter documentation for `auto_update_{$type}` to account for the changes to default auto-update behaviors made in WordPress 5.6. Starting in WordPress 5.6, all new installs auto-update major versions by default. Props felipeloureirosantos, audrasjb, marybaum, davidbaumwald. Fixes #53330. git-svn-id: https://develop.svn.wordpress.org/trunk@52214 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-automatic-updater.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/includes/class-wp-automatic-updater.php b/src/wp-admin/includes/class-wp-automatic-updater.php index 641db4b325..aded48b275 100644 --- a/src/wp-admin/includes/class-wp-automatic-updater.php +++ b/src/wp-admin/includes/class-wp-automatic-updater.php @@ -193,9 +193,10 @@ class WP_Automatic_Updater { * - `auto_update_theme` * - `auto_update_translation` * - * Generally speaking, plugins, themes, and major core versions are not updated - * by default, while translations and minor and development versions for core - * are updated by default. + * Since WordPress 3.7, minor and development versions of core, and translations have + * been auto-updated by default. New installs on WordPress 5.6 or higher will also + * auto-update major versions by default. Starting in 5.6, older sites can opt-in to + * major version auto-updates, and auto-updates for plugins and themes. * * See the {@see 'allow_dev_auto_core_updates'}, {@see 'allow_minor_auto_core_updates'}, * and {@see 'allow_major_auto_core_updates'} filters for a more straightforward way to