/var/www/hkosl.com/aga/wp-content/plugins/smart-slider-3/includes/fail.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
<?php


if (!function_exists('smartslider3_fail_php_version')) {
    function 
smartslider3_fail_php_version() {
        
$html_message sprintf('<div class="error">%s</div>'wpautop(sprintf('Smart Slider 3 requires PHP version 5.4+, plugin is currently NOT RUNNING. Current PHP version: %s'PHP_VERSION)));
        echo 
wp_kses_post($html_message);
    }
}

if (!
function_exists('smartslider3_fail_wp_version')) {
    function 
smartslider3_fail_wp_version() {
        
$html_message sprintf('<div class="error">%s</div>'wpautop('Smart Slider 3 requires WordPress version 4.6+. Because you are using an earlier version, the plugin is currently NOT RUNNING.'));
        echo 
wp_kses_post($html_message);
    }
}

if (!
class_exists('NextendSmartSlider3Fail'false)) {
    class 
NextendSmartSlider3Fail {

        public function 
__construct() {
            
add_action('admin_menu', array(
                
$this,
                
'admin_menu'
            
));
        }

        public function 
admin_menu() {
            
add_menu_page('Smart Slider''Smart Slider''smartslider'NEXTEND_SMARTSLIDER_3_URL_PATH, array(
                
$this,
                
'display_page'
            
), 'dashicons-welcome-learn-more');
        }

        public function 
display_page() {

        }
    }


    new 
NextendSmartSlider3Fail();
}