C:\xampp\htdocs\landing\wp-content\updraft\plugins-old\better-wp-security\lib\icon-fonts\load.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?php
/**
 * Load custom icon fonts submodule.
 *
 * @package icon-fonts
 * @author iThemes
 * @version 1.2.0
*/

$it_registration_list_version   '1.2.0';
$it_registration_list_library   'icon-fonts';
$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' );
}
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586