File "major-updates.php"
Full Path: /home/bfxleof/www/wp-content/plugins/secupress/inc/modules/wordpress-core/plugins/major-updates.php
File size: 458 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* Module Name: Major Updates
* Description: Allow Auto Updates for Major Versions
* Main Module: wordpress_core
* Author: SecuPress
* Version: 1.0
*/
defined( 'SECUPRESS_VERSION' ) or die( 'Something went wrong.' );
// Fix using filters auto_update_core, allow_major_auto_core_updates.
add_filter( 'auto_update_core', '__return_true', PHP_INT_MAX );
add_filter( 'allow_major_auto_core_updates', '__return_true', PHP_INT_MAX );