| @@ -5,9 +5,11 @@ | ||
| 5 | 5 | * @package PoweredCache\Admin |
| 6 | 6 | */ |
| 7 | 7 | |
| 8 | 8 | // phpcs:disable WordPress.WhiteSpace.PrecisionAlignment.Found |
| 9 | - | |
| 9 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 10 | + exit; // Exit if accessed directly. | |
| 11 | +} | |
| 10 | 12 | ?> |
| 11 | 13 | <div class="sui-modal sui-modal-lg"> |
| 12 | 14 | <?php wp_nonce_field( 'powered_cache_run_diagnostic', 'powered_cache_run_diagnostic' ); ?> |
| 13 | 15 | |
| @@ -37,9 +39,9 @@ | ||
| 37 | 39 | |
| 38 | 40 | <div id="pcmodal--powered-cache-diagnostic-message" class="sui-box-body"> |
| 39 | 41 | |
| 40 | 42 | <p id="pcmodal--powered-cache-diagnostic-desc"> |
| 41 | - <?php esc_html_e( 'Welcome to Powered Cache Diagnostic. Running the diagnostic test helps to identify potential issues with the caching. This is only a test. It might take additinal steps to fixing the issues.', 'powered-cache' ); ?> | |
| 43 | + <?php esc_html_e( 'Welcome to Powered Cache Diagnostic. Running the diagnostic test helps to identify potential issues with the caching. This is only a test. It might take additional steps to fixing the issues.', 'powered-cache' ); ?> | |
| 42 | 44 | </p> |
| 43 | 45 | |
| 44 | 46 | <div class="sui-border-frame diagnostic-modal-performance"> |
| 45 | 47 | <ul id="powered-cache-diagnostic-items"> |