C:\xampp\htdocs\landing\wp-content\plugins\wp-optimize\templates\minify\settings-tab.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?php if (!defined('WPO_VERSION'))  die('No direct access allowed'); ?>
<div class="wpo_section wpo_group">
    <form>
        <div id="wpo_settings_warnings"></div>
    
        <h3><?php _e('Miscellaneous''wp-optimize'); ?></h3>
        <div class="wpo-fieldgroup">
            <fieldset>
                <label for="disable_when_logged_in">
                    <input
                        name="disable_when_logged_in"
                        type="checkbox"
                        id="disable_when_logged_in"
                        value="1"
                        <?php echo checked($wpo_minify_options['disable_when_logged_in']);?>
                    >
                    <?php _e('Disable Minify for logged-in users''wp-optimize'); ?>
                    <span tabindex="0" data-tooltip="<?php esc_attr_e('HTML, JavaScript and CSS will be loaded normally by WordPress.''wp-optimize');?> <?php esc_attr_e('Useful for debugging or to improve compatibility with some visual editors.''wp-optimize');?>"><span class="dashicons dashicons-editor-help"></span></span>
                </label>
                <label for="clean_header_one">
                    <input
                        name="clean_header_one"
                        type="checkbox"
                        id="clean_header_one"
                        value="1"
                        <?php echo checked($wpo_minify_options['clean_header_one']); ?>
                    >
                    <?php _e('Remove meta information from page header''wp-optimize'); ?>
                    <span tabindex="0" data-tooltip="<?php esc_attr_e('Remove resource hints, generator tag, shortlinks, manifest link, etc.''wp-optimize');?>"><span class="dashicons dashicons-editor-help"></span></span>
                </label>
                <label for="emoji_removal">
                    <input
                        name="emoji_removal"
                        type="checkbox"
                        id="emoji_removal"
                        class="jsprocessor"
                        value="1"
                        <?php echo checked($wpo_minify_options['emoji_removal']); ?>
                    >
                    <?php _e('Remove default WordPress and TinyMCE icons''wp-optimize'); ?>
                    <span tabindex="0" data-tooltip="<?php esc_attr_e('When selected, the site will use the device\'s built in Emoji''wp-optimize');?>"><span class="dashicons dashicons-editor-help"></span></span>
                </label>
            </fieldset>
        </div>

        <h3><?php _e('SSL options''wp-optimize'); ?></h3>
        <div class="wpo-fieldgroup">
            <p class="wpo_min-bold-green wpo_min-rowintro">
                <?php _e('Force HTTP or HTTPS on the assets generated by WP-Optimize Minify.''wp-optimize'); ?>
                <?php _e('You may need it for some CDN plugins to work:''wp-optimize'); ?>
            </p>
            <fieldset>
                <label>
                    <input
                        type="radio"
                        name="default_protocol"
                        value="dynamic"
                        <?php checked('dynamic' === $wpo_minify_options['default_protocol']); ?>
                    >
                    <?php _e('Same as home URL''wp-optimize'); ?> (<?php printf(__('Currently: %s''wp-optimize'), $default_protocol);?>)
                    <span tabindex="0" data-tooltip="<?php esc_attr_e('Uses your site\'s default protocol.''wp-optimize');?>"><span class="dashicons dashicons-editor-help"></span></span>
                </label>
                <label>
                    <input
                        type="radio"
                        name="default_protocol"
                        value="http"
                        <?php checked('http' === $wpo_minify_options['default_protocol']); ?>
                    >
                    <?php _e('Force HTTP''wp-optimize'); ?>
                    <span tabindex="0" data-tooltip="<?php esc_attr_e('If you do not have SSL''wp-optimize');?>"><span class="dashicons dashicons-editor-help"></span></span>
                </label>
                <label>
                    <input
                        type="radio"
                        name="default_protocol"
                        value="https"
                        <?php checked('https' === $wpo_minify_options['default_protocol']); ?>
                    >
                    <?php _e('Force HTTPS''wp-optimize'); ?>
                    <span tabindex="0" data-tooltip="<?php esc_attr_e('Recommended if you have SSL''wp-optimize');?>"><span class="dashicons dashicons-editor-help"></span></span>
                </label>
            </fieldset>
        </div>

        <?php
        
/**
         * Called before outputing the submit button in the setting fields in Minify > Advanced
         */
        
do_action('wpo_minify_settings_tabs'$wpo_minify_options);
        
?>

        <p class="submit">
            <input
                class="wp-optimize-save-minify-settings button button-primary"
                type="submit"
                value="<?php esc_attr_e('Save settings''wp-optimize'); ?>"
            >
            <img class="wpo_spinner" src="<?php echo esc_attr(admin_url('images/spinner-2x.gif')); ?>" alt="...">
            <span class="save-done dashicons dashicons-yes display-none"></span>
        </p>
    </form>
</div>
x

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