Make WordPress Core


Ignore:
Timestamp:
10/24/2020 12:24:43 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Upgrade/Install: Account for new WP_AUTO_UPDATE_CORE values in auto-updates settings form.

This updates core_auto_updates_settings() to account for the new beta and rc values for the WP_AUTO_UPDATE_CORE constant.

Additionally, recognize these new values as acceptable in Site Health tests.

Follow-up to [48804], [49245], [49254].

Fixes #51319. See #50907.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-core-upgrader.php

    r49254 r49292  
    291291                $upgrade_minor = false;
    292292                $upgrade_major = false;
    293             } elseif (
    294                 true === WP_AUTO_UPDATE_CORE
     293            } elseif ( true === WP_AUTO_UPDATE_CORE
    295294                || 'beta' === WP_AUTO_UPDATE_CORE
    296295                || 'rc' === WP_AUTO_UPDATE_CORE
Note: See TracChangeset for help on using the changeset viewer.