Changeset 49292
- Timestamp:
- 10/24/2020 12:24:43 AM (4 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-core-upgrader.php
r49254 r49292 291 291 $upgrade_minor = false; 292 292 $upgrade_major = false; 293 } elseif ( 294 true === WP_AUTO_UPDATE_CORE 293 } elseif ( true === WP_AUTO_UPDATE_CORE 295 294 || 'beta' === WP_AUTO_UPDATE_CORE 296 295 || 'rc' === WP_AUTO_UPDATE_CORE -
trunk/src/wp-admin/includes/class-wp-site-health-auto-updates.php
r49154 r49292 28 28 public function run_tests() { 29 29 $tests = array( 30 $this->test_constants( 'WP_AUTO_UPDATE_CORE', array( true, ' minor' ) ),30 $this->test_constants( 'WP_AUTO_UPDATE_CORE', array( true, 'beta', 'rc', 'minor' ) ), 31 31 $this->test_wp_version_check_attached(), 32 32 $this->test_filters_automatic_updater_disabled(), -
trunk/src/wp-admin/update-core.php
r49285 r49292 323 323 $upgrade_major = get_site_option( 'auto_update_core_major', false ); 324 324 325 // WP_AUTO_UPDATE_CORE = true (all), 'beta', 'rc', 'minor', false. 325 326 if ( defined( 'WP_AUTO_UPDATE_CORE' ) ) { 326 327 if ( false === WP_AUTO_UPDATE_CORE ) { … … 329 330 $upgrade_minor = false; 330 331 $upgrade_major = false; 331 } elseif ( true === WP_AUTO_UPDATE_CORE ) { 332 } elseif ( true === WP_AUTO_UPDATE_CORE 333 || 'beta' === WP_AUTO_UPDATE_CORE 334 || 'rc' === WP_AUTO_UPDATE_CORE 335 ) { 332 336 // ALL updates for core. 333 337 $upgrade_dev = true;
Note: See TracChangeset
for help on using the changeset viewer.