santize translation

This commit is contained in:
Yoav Farh 2017-01-03 20:27:16 +02:00
parent 1f1def7496
commit 5a2f2893da
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ function _s_entry_footer() {
edit_post_link(
sprintf(
/* translators: %s: Name of current post. Only visible to screen readers */
__( 'Edit <span class="screen-reader-text">%s</span>', '_s' ),
wp_kses( __( 'Edit <span class="screen-reader-text">%s</span>', '_s' ), array( 'span' => array( 'class' => array() ) ) ),
get_the_title()
),
'<span class="edit-link">',

View File

@ -31,7 +31,7 @@
edit_post_link(
sprintf(
/* translators: %s: Name of current post. Only visible to screen readers */
__( 'Edit <span class="screen-reader-text">%s</span>', '_s' ),
wp_kses( __( 'Edit <span class="screen-reader-text">%s</span>', '_s' ), array( 'span' => array( 'class' => array() ) ) ),
get_the_title()
),
'<span class="edit-link">',