Merge pull request #1112 from davidakennedy/master

Fix build errors related to #1066
This commit is contained in:
David A. Kennedy 2017-06-09 16:33:12 -04:00 committed by GitHub
commit c6d64b63fc
2 changed files with 18 additions and 4 deletions

View File

@ -84,8 +84,15 @@ 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(
/* translators: %s: Name of current post. Only visible to screen readers */
__( 'Edit <span class="screen-reader-text">%s</span>', '_s' ),
array(
'span' => array(
'class' => array(),
),
)
),
get_the_title()
),
'<span class="edit-link">',

View File

@ -30,8 +30,15 @@
<?php
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(
/* translators: %s: Name of current post. Only visible to screen readers */
__( 'Edit <span class="screen-reader-text">%s</span>', '_s' ),
array(
'span' => array(
'class' => array(),
),
)
),
get_the_title()
),
'<span class="edit-link">',