| @@ -1,9 +1,9 @@ | ||
| 1 | -<?php if (!defined('WPO_VERSION')) die('No direct access allowed'); ?> | |
| 1 | +<?php if (!defined('ABSPATH')) die('No direct access allowed'); ?> | |
| 2 | 2 | <div class="wpo_section wpo_group"> |
| 3 | 3 | <form> |
| 4 | 4 | <?php if ($is_cache_enabled) : ?> |
| 5 | - <div id="minify-preload" class="notice notice-warning wpo-warning below-h2 wp-optimize-minify-status-information-notice wpo-show"> | |
| 5 | + <div id="minify-preload" class="notice notice-warning wpo-warning below-h2 wpo-show"> | |
| 6 | 6 | <p> |
| 7 | 7 | <span class="dashicons dashicons-info"></span> |
| 8 | 8 | <?php |
| 9 | 9 | $message = esc_html__('You are using WP-Optimize for page caching.', 'wp-optimize'); |
| @@ -9,10 +9,11 @@ | ||
| 9 | 9 | $message = esc_html__('You are using WP-Optimize for page caching.', 'wp-optimize'); |
| 10 | 10 | $message .= ' '; |
| 11 | 11 | $message .= esc_html__('Because of that, the pre-load settings used for page-caching are used.', 'wp-optimize'); |
| 12 | 12 | $message .= ' '; |
| 13 | - $message .= sprintf(esc_html__('i.e. To configure pre-loading, go to the %sCache Preload settings in the caching section%s instead.', 'wp-optimize'), '<a href="' . admin_url('admin.php?page=wpo_cache&tab=wp_optimize_preload') . '">', '</a>'); | |
| 14 | - echo $message; | |
| 13 | + // translators: %1$s is a opening anchor tag and %2$s is a closing anchor tag | |
| 14 | + $message .= sprintf(esc_html__('i.e. To configure pre-loading, go to the %1$sCache Preload settings in the caching section%2$s instead.', 'wp-optimize'), '<a href="' . esc_url(admin_url('admin.php?page=wpo_cache&tab=wp_optimize_preload')) . '">', '</a>'); | |
| 15 | + echo wp_kses_post($message); | |
| 15 | 16 | ?> |
| 16 | 17 | <br> |
| 17 | 18 | </p> |
| 18 | 19 | </div> |