Fix build errors related to #1066

This commit is contained in:
David A. Kennedy 2017-06-09 16:10:50 -04:00
parent 3aa7934d56
commit 007f792515
2 changed files with 16 additions and 2 deletions

View File

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