Escape outputs

This commit is contained in:
Brian Miyaji
2021-11-13 20:42:08 +09:00
parent 051d3e3055
commit 23ba2446b1
190 changed files with 2837 additions and 2837 deletions

View File

@@ -469,7 +469,7 @@ class SP_AJAX {
</p>
<p>
<label>
<?php printf( esc_html__( 'Select %s:', 'sportspress' ), __( 'Calendar', 'sportspress' ) ); ?>
<?php printf( esc_html__( 'Select %s:', 'sportspress' ), esc_attr__( 'Calendar', 'sportspress' ) ); ?>
<?php
$args = array(
'post_type' => 'sp_calendar',
@@ -793,7 +793,7 @@ class SP_AJAX {
&rarr;
<?php esc_html_e( 'Next', 'sportspress' ); ?>
<input type="number" min="0" step="1" class="tiny-text" name="date_future" value="default">
<?php _e( 'days', 'sportspress' ); ?>
<?php esc_attr_e( 'days', 'sportspress' ); ?>
</p>esc_html
<p class="sp-date-relative">