Server IP : 172.67.158.161 / Your IP : 18.226.226.178 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 : |
<?php final class ITSEC_Version_Management_Strengthen_Site { public static function is_software_outdated() { require_once( dirname( __FILE__ ) . '/utility.php' ); if ( ITSEC_VM_Utility::is_wordpress_version_outdated() ) { return true; } $details = ITSEC_Modules::get_setting( 'version-management', 'update_details' ); $outdated_time = time() - MONTH_IN_SECONDS; if ( isset( $details['core'] ) && $details['core']['time'] < $outdated_time ) { return true; } if ( isset( $details['plugins'] ) ) { foreach ( $details['plugins'] as $plugin_details ) { if ( $plugin_details['time'] < $outdated_time ) { return true; } } } if ( isset( $details['themes'] ) ) { foreach ( $details['themes'] as $theme_details ) { if ( $theme_details['time'] < $outdated_time ) { return true; } } } return false; } }