Escapes based on phpcs #7

This commit is contained in:
savvasha
2021-11-11 16:50:16 +02:00
parent 33c1de4b3b
commit f0665566c9
2 changed files with 7 additions and 7 deletions

View File

@@ -73,11 +73,11 @@ if ( ! class_exists( 'SP_Settings_Licenses' ) ) :
<tbody>
<tr>
<th scope="row" class="titledesc">
<?php _e( 'License Key', 'sportspress' ); ?>
<?php esc_html_e( 'License Key', 'sportspress' ); ?>
<?php if ( $key && $status && 'valid' == $status ) { ?>
<i class="dashicons dashicons-yes sp-desc-active"></i>
<?php } else { ?>
<i class="dashicons dashicons-editor-help sp-desc-tip" title="<?php _e( 'Enter the license key from your purchase receipt.', 'sportspress' ); ?>"></i>
<i class="dashicons dashicons-editor-help sp-desc-tip" title="<?php esc_html_e( 'Enter the license key from your purchase receipt.', 'sportspress' ); ?>"></i>
<?php } ?>
</th>
<td>