Make WordPress Core

Changeset 52214


Ignore:
Timestamp:
11/19/2021 02:18:17 PM (3 years ago)
Author:
desrosj
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-automatic-updater.php

    r50762 r52214  
    194194         *  - `auto_update_translation`
    195195         *
    196          * Generally speaking, plugins, themes, and major core versions are not updated
    197          * by default, while translations and minor and development versions for core
    198          * are updated by default.
     196         * Since WordPress 3.7, minor and development versions of core, and translations have
     197         * been auto-updated by default. New installs on WordPress 5.6 or higher will also
     198         * auto-update major versions by default. Starting in 5.6, older sites can opt-in to
     199         * major version auto-updates, and auto-updates for plugins and themes.
    199200         *
    200201         * See the {@see 'allow_dev_auto_core_updates'}, {@see 'allow_minor_auto_core_updates'},
Note: See TracChangeset for help on using the changeset viewer.