diff --git a/inc/template-tags.php b/inc/template-tags.php index 7aa0714..a9542b2 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -69,8 +69,8 @@ function _s_entry_footer() { edit_post_link( sprintf( /* translators: %s: Name of current post */ - esc_html__( 'Edit %s', '_s' ), - the_title( '"', '"', false ) + __( 'Edit %s', '_s' ), + get_the_title() ), '', '' diff --git a/template-parts/content-page.php b/template-parts/content-page.php index 6b5d7f7..a2250ab 100644 --- a/template-parts/content-page.php +++ b/template-parts/content-page.php @@ -31,8 +31,8 @@ edit_post_link( sprintf( /* translators: %s: Name of current post */ - esc_html__( 'Edit %s', '_s' ), - the_title( '"', '"', false ) + __( 'Edit %s', '_s' ), + get_the_title() ), '', ''