Escapes based on phpcs #5

This commit is contained in:
savvasha
2021-11-11 16:17:02 +02:00
parent 204b2dde61
commit 732117b031
5 changed files with 206 additions and 206 deletions

View File

@@ -89,7 +89,7 @@ if ( ! class_exists( 'SportsPress' ) ) :
* @since 0.7
*/
public function __clone() {
_doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'sportspress' ), '0.7' );
_doing_it_wrong( __FUNCTION__, esc_html__( 'Cheatin’ huh?', 'sportspress' ), '0.7' );
}
/**
@@ -98,7 +98,7 @@ if ( ! class_exists( 'SportsPress' ) ) :
* @since 0.7
*/
public function __wakeup() {
_doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'sportspress' ), '0.7' );
_doing_it_wrong( __FUNCTION__, esc_html__( 'Cheatin’ huh?', 'sportspress' ), '0.7' );
}
/**