diff --git a/inc/template-tags.php b/inc/template-tags.php index 6032661d..c7ecf029 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -69,7 +69,7 @@ function _s_entry_footer() { edit_post_link( sprintf( /* translators: %s: Name of current post. Only visible to screen readers */ - __( 'Edit %s', '_s' ), + wp_kses( __( 'Edit %s', '_s' ), array( 'span' => array( 'class' => array() ) ) ), get_the_title() ), '', diff --git a/template-parts/content-page.php b/template-parts/content-page.php index 80819175..42614812 100644 --- a/template-parts/content-page.php +++ b/template-parts/content-page.php @@ -31,7 +31,7 @@ edit_post_link( sprintf( /* translators: %s: Name of current post. Only visible to screen readers */ - __( 'Edit %s', '_s' ), + wp_kses( __( 'Edit %s', '_s' ), array( 'span' => array( 'class' => array() ) ) ), get_the_title() ), '',