| @@ -7,9 +7,9 @@ | ||
| 7 | 7 | <label for="wpo-show-avatars"> |
| 8 | 8 | <input type="checkbox" value="true" disabled <?php checked($show_avatars, 1); ?>> |
| 9 | 9 | <?php esc_html_e('Show avatars (WordPress core setting).', 'wp-optimize'); ?> |
| 10 | 10 | </label> |
| 11 | - <span tabindex="0" data-tooltip="<?php esc_attr_e('This option controls the WordPress core avatar display setting.', 'wp-optimize'); ?> <?php esc_attr_e('WP-Optimize does not manage avatars directly.', 'wp-optimize'); ?> <?php esc_attr_e('You can also change this setting in Settings → Discussion.', 'wp-optimize'); ?> <?php esc_attr_e('When disabled, locally hosted gravatars will also be disabled.', 'wp-optimize'); ?>"> | |
| 11 | + <span tabindex="0" class="wpo-tooltip" data-tooltip="<?php esc_attr_e('This option controls the WordPress core avatar display setting.', 'wp-optimize'); ?> <?php esc_attr_e('WP-Optimize does not manage avatars directly.', 'wp-optimize'); ?> <?php esc_attr_e('You can also change this setting in Settings → Discussion.', 'wp-optimize'); ?> <?php esc_attr_e('When disabled, locally hosted gravatars will also be disabled.', 'wp-optimize'); ?>"> | |
| 12 | 12 | <span class="dashicons dashicons-editor-help"></span> |
| 13 | 13 | </span> |
| 14 | 14 | <p class="description"> |
| 15 | 15 | <?php esc_html_e('This is a WordPress core setting.', 'wp-optimize'); ?> |
| @@ -23,9 +23,9 @@ | ||
| 23 | 23 | <label for="wpo-host-gravatars-locally"> |
| 24 | 24 | <input type="checkbox" value="true" disabled> |
| 25 | 25 | <?php esc_html_e('Host gravatars locally.', 'wp-optimize'); ?> |
| 26 | 26 | </label> |
| 27 | - <span tabindex="0" data-tooltip="<?php esc_attr_e('Host gravatars locally to reduce http requests and enhanced privacy.', 'wp-optimize');?>"><span class="dashicons dashicons-editor-help"></span> </span> | |
| 27 | + <span tabindex="0" class="wpo-tooltip" data-tooltip="<?php esc_attr_e('Host gravatars locally to reduce http requests and enhanced privacy.', 'wp-optimize');?>"><span class="dashicons dashicons-editor-help"></span> </span> | |
| 28 | 28 | </div> |
| 29 | 29 | <p><a href="<?php echo esc_url(WP_Optimize()->premium_version_link); ?>&utm_content=host-gravatars-locally" target="_blank"><?php esc_html_e('Upgrade to WP-Optimize Premium to unlock this feature.', 'wp-optimize'); ?></a></p> |
| 30 | 30 | </div> |
| 31 | 31 | |
| @@ -36,9 +36,9 @@ | ||
| 36 | 36 | <label for="cache_specific_urls_only"> |
| 37 | 37 | <input name="cache_specific_urls_only" id="cache_specific_urls_only" class="cache-settings" type="checkbox" value="true" disabled> |
| 38 | 38 | <?php esc_html_e('Cache Specific URLs Only', 'wp-optimize'); ?> |
| 39 | 39 | </label> |
| 40 | - <span tabindex="0" data-tooltip="<?php esc_attr_e('Enable or disable caching for specific URLs only.', 'wp-optimize');?>"><span class="dashicons dashicons-editor-help"></span> </span> | |
| 40 | + <span tabindex="0" class="wpo-tooltip" data-tooltip="<?php esc_attr_e('Enable or disable caching for specific URLs only.', 'wp-optimize');?>"><span class="dashicons dashicons-editor-help"></span> </span> | |
| 41 | 41 | </div> |
| 42 | 42 | <p><a href="<?php echo esc_url(WP_Optimize()->premium_version_link); ?>&utm_content=cache_ignore_query_variables" target="_blank"><?php esc_html_e('Upgrade to WP-Optimize Premium to unlock this feature.', 'wp-optimize'); ?></a></p> |
| 43 | 43 | <p> |
| 44 | 44 | <?php // Translators: %s is an example path. ?> |
| @@ -147,9 +147,11 @@ | ||
| 147 | 147 | </div> |
| 148 | 148 | |
| 149 | 149 | <?php do_action('wpo_page_cache_advanced_settings', $wpo_cache_options); ?> |
| 150 | 150 | |
| 151 | -<input id="wp-optimize-save-cache-advanced-rules" class="button button-primary" type="submit" name="wp-optimize-save-cache-advanced-rules" value="Save changes"> | |
| 151 | +<div class="wpo-save-btn-container"> | |
| 152 | + <input id="wp-optimize-save-cache-advanced-rules" class="button button-primary" type="submit" name="wp-optimize-save-cache-advanced-rules" value="Save changes"> | |
| 152 | 153 | |
| 153 | -<img class="wpo_spinner" src="<?php echo esc_url(admin_url('images/spinner-2x.gif')); // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage -- N/A ?>" alt="..."> | |
| 154 | + <img class="wpo_spinner" src="<?php echo esc_url(admin_url('images/spinner-2x.gif')); // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage -- N/A ?>" alt="..."> | |
| 154 | 155 | |
| 155 | -<span class="save-done dashicons dashicons-yes display-none"></span> | |
| 156 | + <span class="save-done dashicons dashicons-yes display-none"></span> | |
| 157 | +</div> | |