C:\xampp\htdocs\landing\wp-content\plugins\better-wp-security\lib\icon-fonts\init.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
<?php
/**
 * Custom Icons for iThemes Products
 *
 * @package icon-fonts
 * @author iThemes
 * @version 1.2.0
*/

if ( ! function_exists'it_icon_font_admin_enueue_scripts' ) ) {
    function 
it_icon_font_admin_enueue_scripts() {
        if ( 
version_compare$GLOBALS['wp_version'], '3.7.10''>=' ) ) {
            
$dir str_replace'\\''/'dirname__FILE__ ) );

            
$content_dir rtrimstr_replace'\\''/'WP_CONTENT_DIR ), '/' );
            
$abspath rtrimstr_replace'\\''/'ABSPATH ), '/' );

            if ( empty( 
$content_dir ) || ( === strpos$dir$content_dir ) ) ) {
                
$url WP_CONTENT_URL str_replace'\\''/'preg_replace'/^' preg_quote$content_dir'/' ) . '/'''$dir ) );
            } else if ( empty( 
$abspath ) || ( === strpos$dir$abspath ) ) ) {
                
$url get_option'siteurl' ) . str_replace'\\''/'preg_replace'/^' preg_quote$abspath'/' ) . '/'''$dir ) );
            }

            if ( empty( 
$url ) ) {
                
$dir realpath$dir );

                if ( empty( 
$content_dir ) || ( === strpos$dir$content_dir ) ) ) {
                    
$url WP_CONTENT_URL str_replace'\\''/'preg_replace'/^' preg_quote$content_dir'/' ) . '/'''$dir ) );
                } else if ( empty( 
$abspath ) || ( === strpos$dir$abspath ) ) ) {
                    
$url get_option'siteurl' ) . str_replace'\\''/'preg_replace'/^' preg_quote$abspath'/' ) . '/'''$dir ) );
                }
            }

            if ( 
is_ssl() ) {
                
$url preg_replace'|^http://|''https://'$url );
            } else {
                
$url preg_replace'|^https://|''http://'$url );
            }


            
wp_enqueue_style'ithemes-icon-font'"$url/icon-fonts.css" );
        }
    }
    
add_action'admin_enqueue_scripts''it_icon_font_admin_enueue_scripts' );
}
x

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