elseif ( 'minor' === WP_AUTO_UPDATE_CORE
) { // Only minor updates for core.
$upgrade_dev = false;
$upgrade_minor = true;
$upgrade_major = false;
} // The UI is overridden by the `WP_AUTO_UPDATE_CORE` constant.
$can_set_update_option = false;
} if ( $updater->
is_disabled() ) { $upgrade_dev = false;
$upgrade_minor = false;
$upgrade_major = false;
/*
* The UI is overridden by the `AUTOMATIC_UPDATER_DISABLED` constant
* or the `automatic_updater_disabled` filter,
* or by `wp_is_file_mod_allowed( 'automatic_updater' )`.
* See `WP_Automatic_Updater::is_disabled()`.
*/
$can_set_update_option = false;
}