| Server IP : 210.245.233.93 / Your IP : 216.73.216.226 Web Server : Apache/2.2.15 (CentOS) System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : apache ( 48) PHP Version : 5.3.3 Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/(Del)hsihk.com/wp-content/plugins/backupbuddy/lib/updater/ |
Upload File : |
<?php
/*
Written by Chris Jean for iThemes.com
Version 1.3.0
*/
$it_registration_list_version = '1.3.0';
$it_registration_list_library = 'updater';
$it_registration_list_init_file = dirname( __FILE__ ) . '/init.php';
$GLOBALS['it_classes_registration_list'][$it_registration_list_library][$it_registration_list_version] = $it_registration_list_init_file;
if ( ! function_exists( 'it_registration_list_init' ) ) {
function it_registration_list_init() {
// The $wp_locale variable is set just before the theme's functions.php file is loaded,
// this acts as a good check to ensure that both the plugins and the theme have loaded.
global $wp_locale;
if ( ! isset( $wp_locale ) )
return;
$init_files = array();
foreach ( (array) $GLOBALS['it_classes_registration_list'] as $library => $versions ) {
$max_version = '-10000';
$init_file = '';
foreach ( (array) $versions as $version => $file ) {
if ( version_compare( $version, $max_version, '>' ) ) {
$max_version = $version;
$init_file = $file;
}
}
if ( ! empty( $init_file ) )
$init_files[] = $init_file;
}
unset( $GLOBALS['it_classes_registration_list'] );
foreach ( (array) $init_files as $init_file )
require_once( $init_file );
do_action( 'it_libraries_loaded' );
}
global $wp_version;
if ( version_compare( $wp_version, '2.9.7', '>' ) )
add_action( 'after_setup_theme', 'it_registration_list_init' );
else
add_action( 'set_current_user', 'it_registration_list_init' );
}