/*
* 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;
} // Is the UI overridden by a plugin using the `allow_major_auto_core_updates` filter?
if ( has_filter( 'allow_major_auto_core_updates'
) ) { $can_set_update_option = false;
} /** This filter is documented in wp-admin/includes/class-core-upgrader.php */
$upgrade_dev =
apply_filters( 'allow_dev_auto_core_updates',
$upgrade_dev );
/** This filter is documented in wp-admin/includes/class-core-upgrader.php */
$upgrade_minor =
apply_filters( 'allow_minor_auto_core_updates',
$upgrade_minor );
/** This filter is documented in wp-admin/includes/class-core-upgrader.php */
$upgrade_major =
apply_filters( 'allow_major_auto_core_updates',
$upgrade_major );
$auto_update_settings = array
(