Escape outputs
This commit is contained in:
@@ -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 {
|
||||
→
|
||||
<?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">
|
||||
|
||||
Reference in New Issue
Block a user