| @@ -97,9 +97,9 @@ | ||
| 97 | 97 | $message .= ' '; |
| 98 | 98 | $message .= __('It takes effect only when cache pre-loading because it takes time.', 'wp-optimize'); |
| 99 | 99 | ?> |
| 100 | 100 | </label> |
| 101 | - <span tabindex="0" data-tooltip="<?php echo esc_attr($message);?>"><span class="dashicons dashicons-editor-help"></span> </span> | |
| 101 | + <span tabindex="0" class="wpo-tooltip" data-tooltip="<?php echo esc_attr($message);?>"><span class="dashicons dashicons-editor-help"></span> </span> | |
| 102 | 102 | </div> |
| 103 | 103 | </div> |
| 104 | 104 | |
| 105 | 105 | <div class="wpo-fieldgroup__subgroup"> |
| @@ -118,9 +118,9 @@ | ||
| 118 | 118 | </label> |
| 119 | 119 | <label for="wpo_min_enable_minify_js"> |
| 120 | 120 | <?php esc_html_e('Process JavaScript files', 'wp-optimize'); ?> |
| 121 | 121 | </label> |
| 122 | - <span tabindex="0" data-tooltip="<?php esc_attr_e('The JavaScript files will be combined and minified to lower the number and size of requests.', 'wp-optimize');?>"><span class="dashicons dashicons-editor-help"></span> </span> | |
| 122 | + <span tabindex="0" class="wpo-tooltip" data-tooltip="<?php esc_attr_e('The JavaScript files will be combined and minified to lower the number and size of requests.', 'wp-optimize');?>"><span class="dashicons dashicons-editor-help"></span> </span> | |
| 123 | 123 | <a href="#" class="js--wpo-goto" data-tab="js"><?php esc_html_e('Settings', 'wp-optimize'); ?></a> |
| 124 | 124 | </div> |
| 125 | 125 | </div> |
| 126 | 126 | |
| @@ -140,9 +140,9 @@ | ||
| 140 | 140 | </label> |
| 141 | 141 | <label for="wpo_min_enable_minify_css"> |
| 142 | 142 | <?php esc_html_e('Process CSS files', 'wp-optimize'); ?> |
| 143 | 143 | </label> |
| 144 | - <span tabindex="0" data-tooltip="<?php esc_attr_e('The stylesheets will be combined and minified to lower the number and size of requests.', 'wp-optimize');?>"><span class="dashicons dashicons-editor-help"></span> </span> | |
| 144 | + <span tabindex="0" class="wpo-tooltip" data-tooltip="<?php esc_attr_e('The stylesheets will be combined and minified to lower the number and size of requests.', 'wp-optimize');?>"><span class="dashicons dashicons-editor-help"></span> </span> | |
| 145 | 145 | <a href="#" class="js--wpo-goto" data-tab="css"><?php esc_html_e('Settings', 'wp-optimize'); ?></a> |
| 146 | 146 | </div> |
| 147 | 147 | </div> |
| 148 | 148 | </div> |
| @@ -148,9 +148,9 @@ | ||
| 148 | 148 | </div> |
| 149 | 149 | </div> |
| 150 | 150 | |
| 151 | 151 | <div class="wpo-fieldgroup"> |
| 152 | - <p class="actions"> | |
| 152 | + <div class="wpo-save-btn-container actions"> | |
| 153 | 153 | <input |
| 154 | 154 | class="button button-primary purge_minify_cache <?php echo $can_purge_the_cache ? '' : 'disabled'; ?>" |
| 155 | 155 | type="submit" |
| 156 | 156 | value="<?php wp_optimize_minify_config()->always_purge_everything() ? esc_attr_e('Purge the minified files', 'wp-optimize') : esc_attr_e('Reset the minified files', 'wp-optimize'); ?>" |
| @@ -157,15 +157,15 @@ | ||
| 157 | 157 | <?php echo $can_purge_the_cache ? '' : 'disabled'; ?> |
| 158 | 158 | > |
| 159 | 159 | <img class="wpo_spinner" src="<?php echo esc_url(admin_url('images/spinner-2x.gif')); // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage -- N/A ?>" alt="..."> |
| 160 | 160 | <span class="save-done dashicons dashicons-yes display-none"></span> |
| 161 | - </p> | |
| 161 | + </div> | |
| 162 | 162 | <p> |
| 163 | 163 | <span><?php esc_html_e("The new minified files will be regenerated when visiting your website's pages.", "wp-optimize"); ?> <?php $wp_optimize->wp_optimize_url('https://teamupdraft.com/documentation/wp-optimize/topics/minification/faqs/what-does-reset-the-minified-files-do/?utm_source=wpo-plugin&utm_medium=referral&utm_campaign=paac&utm_content=what-does-purge-the-minified-files-do&utm_creative_format=text', __('Read more about what this does in our FAQs.', 'wp-optimize')); ?> (<?php esc_html_e('This will also purge the page cache', 'wp-optimize'); ?>)</span> |
| 164 | 164 | </p> |
| 165 | 165 | |
| 166 | 166 | <?php esc_html_e('Minify cache size:', 'wp-optimize'); ?> |
| 167 | - <ul class="ul-disc"> | |
| 167 | + <ul class="ul-disc wpo-minify-cache-size"> | |
| 168 | 168 | <li><?php esc_html_e('Current cache:', 'wp-optimize'); ?> |
| 169 | 169 | <strong id="wpo_min_cache_size"> |
| 170 | 170 | <?php |
| 171 | 171 | if ($wpo_minify_options['enabled']) { |
| @@ -187,9 +187,9 @@ | ||
| 187 | 187 | esc_html_e('No minified files are present', 'wp-optimize'); |
| 188 | 188 | } |
| 189 | 189 | ?> |
| 190 | 190 | </strong> |
| 191 | - <strong tabindex="0" data-tooltip="<?php esc_attr_e('This includes the older, non-expired cache, as well as the temporary files used to generate the minified files.', 'wp-optimize');?>"><span class="dashicons dashicons-editor-help"></span></strong> | |
| 191 | + <strong tabindex="0" class="wpo-tooltip" data-tooltip="<?php esc_attr_e('This includes the older, non-expired cache, as well as the temporary files used to generate the minified files.', 'wp-optimize');?>"><span class="dashicons dashicons-editor-help"></span></strong> | |
| 192 | 192 | <a href="#" class="wpo-minify-download-metas-button"><?php esc_html_e('Download debug log', 'wp-optimize'); ?></a> |
| 193 | 193 | </li> |
| 194 | 194 | </ul> |
| 195 | 195 | <p> |
| @@ -206,9 +206,9 @@ | ||
| 206 | 206 | ?> |
| 207 | 207 | </strong> |
| 208 | 208 | </p> |
| 209 | 209 | <?php if ($wpo_minify_options['debug']) : ?> |
| 210 | - <p class="actions"> | |
| 210 | + <div class="wpo-save-btn-container actions"> | |
| 211 | 211 | <input |
| 212 | 212 | class="button minify_increment_cache" |
| 213 | 213 | type="button" |
| 214 | 214 | value="<?php esc_attr_e('Increment cache', 'wp-optimize'); ?>" |
| @@ -214,15 +214,15 @@ | ||
| 214 | 214 | value="<?php esc_attr_e('Increment cache', 'wp-optimize'); ?>" |
| 215 | 215 | > |
| 216 | 216 | <img class="wpo_spinner" src="<?php echo esc_url(admin_url('images/spinner-2x.gif')); // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage -- N/A ?>" alt="..."> |
| 217 | 217 | <span class="save-done dashicons dashicons-yes display-none"></span> |
| 218 | - <strong tabindex="0" data-tooltip="<?php esc_attr_e('This will reset the files generated by minify, but use the existing minify temporary files.', 'wp-optimize');?>"><span class="dashicons dashicons-editor-help"></span></strong> | |
| 219 | - </p> | |
| 218 | + <span tabindex="0" class="wpo-tooltip" data-tooltip="<?php esc_attr_e('This will reset the files generated by minify, but use the existing minify temporary files.', 'wp-optimize');?>" style="display: inline-block;"><span class="dashicons dashicons-editor-help"></span></span> | |
| 219 | + </div> | |
| 220 | 220 | <?php |
| 221 | 221 | // This is only necessary if the everything isn't purged |
| 222 | 222 | if (!wp_optimize_minify_config()->always_purge_everything()) : |
| 223 | 223 | ?> |
| 224 | - <p class="actions"> | |
| 224 | + <div class="wpo-save-btn-container actions"> | |
| 225 | 225 | <input |
| 226 | 226 | class="button purge_all_minify_cache" |
| 227 | 227 | type="button" |
| 228 | 228 | value="<?php esc_attr_e('Delete all the files generated by minifcation', 'wp-optimize'); ?>" |
| @@ -228,10 +228,10 @@ | ||
| 228 | 228 | value="<?php esc_attr_e('Delete all the files generated by minifcation', 'wp-optimize'); ?>" |
| 229 | 229 | > |
| 230 | 230 | <img class="wpo_spinner" src="<?php echo esc_url(admin_url('images/spinner-2x.gif')); // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage -- N/A ?>" alt="..."> |
| 231 | 231 | <span class="save-done dashicons dashicons-yes display-none"></span> |
| 232 | - <strong tabindex="0" data-tooltip="<?php esc_attr_e('If you are using an unsupported cache plugin, then you will also need to purge your page cache when doing this.', 'wp-optimize');?>"><span class="dashicons dashicons-editor-help"></span></strong> | |
| 233 | - </p> | |
| 232 | + <span tabindex="0" class="wpo-tooltip" data-tooltip="<?php esc_attr_e('If you are using an unsupported cache plugin, then you will also need to purge your page cache when doing this.', 'wp-optimize');?>" style="display: inline-block;"><span class="dashicons dashicons-editor-help"></span></span> | |
| 233 | + </div> | |
| 234 | 234 | <?php |
| 235 | 235 | endif; |
| 236 | 236 | ?> |
| 237 | 237 | <?php endif; ?> |