Description: Disabled the "please update" warning thanks to Hans Spaans and Rolf Leggewie (Closes: #506685) Author: Giuseppe Iuculano , Katharina Drexel Reviewed-by: Craig Small Last-Update: 2023-08-10 --- a/wp-admin/includes/update.php +++ b/wp-admin/includes/update.php @@ -37,6 +37,10 @@ * @return array|false Array of the update objects on success, false on failure. */ function get_core_updates( $options = array() ) { + if (!defined('WP_AUTO_UPDATE_CORE')) + define('WP_AUTO_UPDATE_CORE', true); + if ( false === WP_AUTO_UPDATE_CORE ) + return array(); $options = array_merge( array( 'available' => true,