Changeset 49587 for trunk/src/wp-admin/includes/class-core-upgrader.php
- Timestamp:
- 11/12/2020 10:35:54 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-core-upgrader.php
r49292 r49587 280 280 281 281 // Defaults: 282 $upgrade_dev = get_site_option( 'auto_update_core_dev', true );283 $upgrade_minor = get_site_option( 'auto_update_core_minor', true );284 $upgrade_major = get_site_option( 'auto_update_core_major', false );282 $upgrade_dev = get_site_option( 'auto_update_core_dev', 'enabled' ) === 'enabled'; 283 $upgrade_minor = get_site_option( 'auto_update_core_minor', 'enabled' ) === 'enabled'; 284 $upgrade_major = get_site_option( 'auto_update_core_major', 'unset' ) === 'enabled'; 285 285 286 286 // WP_AUTO_UPDATE_CORE = true (all), 'beta', 'rc', 'minor', false.
Note: See TracChangeset
for help on using the changeset viewer.