| @@ -16,9 +16,9 @@ | ||
| 16 | 16 | <?php echo checked($wpo_minify_options['merge_inline_extra_css_js']);?> |
| 17 | 17 | > |
| 18 | 18 | <?php esc_html_e('Merge inline extra css and javascript', 'wp-optimize'); ?> |
| 19 | 19 | </label> |
| 20 | - <span tabindex="0" data-tooltip="<?php esc_attr_e('Inline JavaScript and CSS that should come before or after other enqueued files will be merged.', 'wp-optimize');?>"><span class="dashicons dashicons-editor-help"></span></span><br> | |
| 20 | + <span tabindex="0" class="wpo-tooltip" data-tooltip="<?php esc_attr_e('Inline JavaScript and CSS that should come before or after other enqueued files will be merged.', 'wp-optimize');?>"><span class="dashicons dashicons-editor-help"></span></span><br> | |
| 21 | 21 | </div> |
| 22 | 22 | <div class="wpo-fieldgroup__subgroup"> |
| 23 | 23 | <label for="disable_when_logged_in"> |
| 24 | 24 | <input |
| @@ -29,9 +29,9 @@ | ||
| 29 | 29 | <?php echo checked($wpo_minify_options['disable_when_logged_in']);?> |
| 30 | 30 | > |
| 31 | 31 | <?php esc_html_e('Disable Minify for logged-in users', 'wp-optimize'); ?> |
| 32 | 32 | </label> |
| 33 | - <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><br> | |
| 33 | + <span tabindex="0" class="wpo-tooltip" 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><br> | |
| 34 | 34 | </div> |
| 35 | 35 | <div class="wpo-fieldgroup__subgroup"> |
| 36 | 36 | <label for="clean_header_one"> |
| 37 | 37 | <input |
| @@ -42,9 +42,9 @@ | ||
| 42 | 42 | <?php echo checked($wpo_minify_options['clean_header_one']); ?> |
| 43 | 43 | > |
| 44 | 44 | <?php esc_html_e('Remove meta information from page header', 'wp-optimize'); ?> |
| 45 | 45 | </label> |
| 46 | - <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><br> | |
| 46 | + <span tabindex="0" class="wpo-tooltip" 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><br> | |
| 47 | 47 | </div> |
| 48 | 48 | <div class="wpo-fieldgroup__subgroup"> |
| 49 | 49 | <label for="emoji_removal"> |
| 50 | 50 | <input |
| @@ -56,9 +56,9 @@ | ||
| 56 | 56 | <?php echo checked($wpo_minify_options['emoji_removal']); ?> |
| 57 | 57 | > |
| 58 | 58 | <?php esc_html_e('Remove default WordPress and TinyMCE icons', 'wp-optimize'); ?> |
| 59 | 59 | </label> |
| 60 | - <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><br> | |
| 60 | + <span tabindex="0" class="wpo-tooltip" 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><br> | |
| 61 | 61 | </div> |
| 62 | 62 | </fieldset> |
| 63 | 63 | </div> |
| 64 | 64 | |
| @@ -84,9 +84,9 @@ | ||
| 84 | 84 | printf(esc_html__('Currently: %s', 'wp-optimize'), esc_html($default_protocol)); |
| 85 | 85 | echo ')'; |
| 86 | 86 | ?> |
| 87 | 87 | </label> |
| 88 | - <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><br> | |
| 88 | + <span tabindex="0" class="wpo-tooltip" data-tooltip="<?php esc_attr_e('Uses your site\'s default protocol.', 'wp-optimize');?>"><span class="dashicons dashicons-editor-help"></span></span><br> | |
| 89 | 89 | </div> |
| 90 | 90 | <div class="wpo-fieldgroup__subgroup"> |
| 91 | 91 | <label> |
| 92 | 92 | <input |
| @@ -96,9 +96,9 @@ | ||
| 96 | 96 | <?php checked('http' === $wpo_minify_options['default_protocol']); ?> |
| 97 | 97 | > |
| 98 | 98 | <?php esc_html_e('Force HTTP', 'wp-optimize'); ?> |
| 99 | 99 | </label> |
| 100 | - <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><br> | |
| 100 | + <span tabindex="0" class="wpo-tooltip" data-tooltip="<?php esc_attr_e('If you do not have SSL', 'wp-optimize');?>"><span class="dashicons dashicons-editor-help"></span></span><br> | |
| 101 | 101 | </div> |
| 102 | 102 | <div class="wpo-fieldgroup__subgroup"> |
| 103 | 103 | <label> |
| 104 | 104 | <input |
| @@ -108,9 +108,9 @@ | ||
| 108 | 108 | <?php checked('https' === $wpo_minify_options['default_protocol']); ?> |
| 109 | 109 | > |
| 110 | 110 | <?php esc_html_e('Force HTTPS', 'wp-optimize'); ?> |
| 111 | 111 | </label> |
| 112 | - <span tabindex="0" data-tooltip="<?php esc_attr_e('Recommended if you have SSL', 'wp-optimize');?>"><span class="dashicons dashicons-editor-help"></span></span><br> | |
| 112 | + <span tabindex="0" class="wpo-tooltip" data-tooltip="<?php esc_attr_e('Recommended if you have SSL', 'wp-optimize');?>"><span class="dashicons dashicons-editor-help"></span></span><br> | |
| 113 | 113 | </div> |
| 114 | 114 | </fieldset> |
| 115 | 115 | </div> |
| 116 | 116 | |
| @@ -120,15 +120,11 @@ | ||
| 120 | 120 | */ |
| 121 | 121 | do_action('wpo_minify_settings_tabs', $wpo_minify_options); |
| 122 | 122 | ?> |
| 123 | 123 | |
| 124 | - <p class="submit"> | |
| 125 | - <input | |
| 126 | - class="wp-optimize-save-minify-settings button button-primary" | |
| 127 | - type="submit" | |
| 128 | - value="<?php esc_attr_e('Save settings', 'wp-optimize'); ?>" | |
| 129 | - > | |
| 124 | + <div class="wpo-save-btn-container"> | |
| 125 | + <input class="wp-optimize-save-minify-settings button button-primary" type="submit" value="<?php esc_attr_e('Save settings', 'wp-optimize'); ?>"> | |
| 130 | 126 | <img class="wpo_spinner" src="<?php echo esc_url(admin_url('images/spinner-2x.gif')); // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage -- N/A ?>" alt="..."> |
| 131 | 127 | <span class="save-done dashicons dashicons-yes display-none"></span> |
| 132 | - </p> | |
| 128 | + </div> | |
| 133 | 129 | </form> |
| 134 | 130 | </div> |