Make WordPress Core


Ignore:
Timestamp:
01/30/2021 10:32:10 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Upgrade/Install: Allow WordPress sites to opt-in to development releases.

The WP_AUTO_UPDATE_CORE constant now supports development and branch-development values.

This makes it possible for sites to opt-in to updating to nightly builds without having to install a plugin.

Follow-up to [49245], [49292].

Props xkon, knutsp, afragen, audrasjb, dd32.
Fixes #51978.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-site-health-auto-updates.php

    r50049 r50082  
    2828    public function run_tests() {
    2929        $tests = array(
    30             $this->test_constants( 'WP_AUTO_UPDATE_CORE', array( true, 'beta', 'rc', 'minor' ) ),
     30            $this->test_constants( 'WP_AUTO_UPDATE_CORE', array( true, 'beta', 'rc', 'development', 'branch-development', 'minor' ) ),
    3131            $this->test_wp_version_check_attached(),
    3232            $this->test_filters_automatic_updater_disabled(),
Note: See TracChangeset for help on using the changeset viewer.