Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #51742, comment 44


Ignore:
Timestamp:
11/13/2020 08:43:14 AM (5 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51742, comment 44

    initial v1  
    1111As of WP 5.6:
    1212
    13 1. There are three options to control core auto-updates: `auto_update_core_dev`, `auto_update_core_minor`, and `auto_update_core_major`. There is UI only for the last one, and that UI is on the Dashboard -> Updates screen. Also there are various constants and filters that override these options.
     131. There are three options that (may) control core auto-updates: `auto_update_core_dev`, `auto_update_core_minor`, and `auto_update_core_major`. There is UI only for the last one, and that UI is on the Dashboard -> Updates screen. There are various constants and filters that override these options.
    1414
    15152. There is the `WP_AUTO_UPDATE_CORE` constant that can be used to enable or disable core auto-updates for beta, rc, minor and major versions.
     
    19193. Then there is also the `AUTOMATIC_UPDATER_DISABLED` constant that overrides the `WP_AUTO_UPDATE_CORE` constant and all the filters that override it (including the last one).
    2020 - The `AUTOMATIC_UPDATER_DISABLED` constant also has a filter `automatic_updater_disabled` to override it.
    21  - In addition `AUTOMATIC_UPDATER_DISABLED` can be overridden for themes and plugins by the `plugins_auto_update_enabled` and `themes_auto_update_enabled` filters in `wp_is_auto_update_enabled_for_type()`. (Currently this functions only supports plugins and themes. Perhaps would be good to add support for core too.)
     21 - In addition `AUTOMATIC_UPDATER_DISABLED` can be overridden for themes and plugins by the `plugins_auto_update_enabled` and `themes_auto_update_enabled` filters in `wp_is_auto_update_enabled_for_type()`. (Currently this function only supports plugins and themes. Perhaps would be good to add support for core too?)
    2222
    2323Did I miss something? :)