diff --git a/inc/template-tags.php b/inc/template-tags.php
index e9ab284..6beb464 100644
--- a/inc/template-tags.php
+++ b/inc/template-tags.php
@@ -125,8 +125,9 @@ function _s_entry_footer() {
edit_post_link(
sprintf(
- esc_html_x( 'Edit %s', 'name of current post', '_s' ),
- wp_kses( the_title( '"', '"', false ), array( 'span' => array( 'class' => array() ) ) )
+ /* translators: %s: Name of current post */
+ esc_html__( 'Edit %s', '_s' ),
+ the_title( '"', '"', false )
),
'',
''
diff --git a/template-parts/content-page.php b/template-parts/content-page.php
index e837d96..d70c9d5 100644
--- a/template-parts/content-page.php
+++ b/template-parts/content-page.php
@@ -26,8 +26,9 @@
"', '"', false ), array( 'span' => array( 'class' => array() ) ) )
+ /* translators: %s: Name of current post */
+ esc_html__( 'Edit %s', '_s' ),
+ the_title( '"', '"', false )
),
'',
''