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

@@ -219,7 +219,7 @@ if ( ! function_exists( 'sp_get_short_name' ) ) {
if ( ! function_exists( 'sp_short_name' ) ) {
function sp_short_name( $post = 0 ) {
echo sp_get_short_name( $post );
echo wp_kses_post( sp_get_short_name( $post ) );
}
}