← All changes
|
templates/cache/page-cache-cloudflare-placeholder.php
+8
-1
3.3.0
→
4.7.0
View file →
| @@ -2,8 +2,15 @@ | ||
| 2 | 2 | <h3 class="wpo-cloudflare-cache-options purge-cache"> <?php esc_html_e('Cloudflare settings', 'wp-optimize'); ?></h3> |
| 3 | 3 | <div class="wpo-fieldgroup cache-options wpo-cloudflare-cache-options purge-cache"> |
| 4 | 4 | <p> |
| 5 | 5 | <input id="purge_cloudflare_cache" disabled type="checkbox" name="purge_cloudflare_cache" class="cache-settings"> |
| 6 | - <label for="purge_cloudflare_cache"><?php esc_html_e('Purge Cloudflare cached pages when the WP-Optimize cache is purged', 'wp-optimize'); ?> <em><?php echo strip_tags(sprintf(__('(This feature requires %s)', 'wp-optimize'), '<a target="_blank" href="'.esc_url(WP_Optimize()->maybe_add_affiliate_params('https://getwpo.com/buy/')).'">WP Optimize Premium</a>'), '<a>'); ?></em></label> | |
| 6 | + <label for="purge_cloudflare_cache"> | |
| 7 | + <?php esc_html_e('Purge Cloudflare cached pages when the WP-Optimize cache is purged', 'wp-optimize'); ?> | |
| 8 | + <em><?php | |
| 9 | + // translators: %s is a link to WP Optimize Premium | |
| 10 | + echo wp_kses_post(sprintf(__('(This feature requires %s)', 'wp-optimize'), '<a target="_blank" href="'.esc_url(WP_Optimize()->maybe_add_affiliate_params('https://teamupdraft.com/wp-optimize/pricing/')).'">WP Optimize Premium</a>')); | |
| 11 | + ?> | |
| 12 | + </em> | |
| 13 | + </label> | |
| 7 | 14 | |
| 8 | 15 | </p> |
| 9 | 16 | </div> |