diff --git a/src/wp-admin/includes/update.php b/src/wp-admin/includes/update.php
index 24410cd29c..5d352a1982 100644
a
|
b
|
function wp_theme_update_row( $theme_key, $theme ) { |
807 | 807 | * @return void|false |
808 | 808 | */ |
809 | 809 | function maintenance_nag() { |
| 810 | |
| 811 | if (!defined('WP_AUTO_UPDATE_CORE')) |
| 812 | define('WP_AUTO_UPDATE_CORE', true); |
| 813 | if ( false === WP_AUTO_UPDATE_CORE ) |
| 814 | return array(); |
| 815 | |
810 | 816 | // Include an unmodified $wp_version. |
811 | 817 | require ABSPATH . WPINC . '/version.php'; |
812 | 818 | global $upgrading; |