Escapes based on phpcs #1

This commit is contained in:
Savvas Hadjigeorgiou
2021-11-11 13:30:55 +02:00
parent 3dff686a00
commit 85d08eae56
3 changed files with 10 additions and 10 deletions

View File

@@ -13,7 +13,7 @@ if ( ! defined( 'ABSPATH' ) ) {
}
if ( 'sp_calendar' !== get_post_type( $post ) ) {
wp_die( __( 'ERROR: This is not a valid feed template.', 'sportspress' ), '', array( 'response' => 404 ) );
wp_die( esc_html__( 'ERROR: This is not a valid feed template.', 'sportspress' ), '', array( 'response' => 404 ) );
}
// Get events in calendar