diff --git a/src/wp-admin/update-core.php b/src/wp-admin/update-core.php
index 904a76366a..83bce165fb 100644
a
|
b
|
function core_auto_updates_settings() { |
348 | 348 | $can_set_update_option = false; |
349 | 349 | } |
350 | 350 | |
351 | | if ( defined( 'AUTOMATIC_UPDATER_DISABLED' ) ) { |
352 | | if ( true === AUTOMATIC_UPDATER_DISABLED ) { |
| 351 | if ( defined( 'AUTOMATIC_UPDATER_DISABLED' ) || has_filter( 'automatic_updater_disabled' ) ) { |
| 352 | if ( true === AUTOMATIC_UPDATER_DISABLED || true === apply_filters( 'automatic_updater_disabled', null ) ) { |
353 | 353 | $upgrade_dev = false; |
354 | 354 | $upgrade_minor = false; |
355 | 355 | $upgrade_major = false; |