forked from mirror/_s
Make sure the translation of the post editing link doesn't break because of screen reader text
This commit is contained in:
parent
b330bbaba7
commit
b3287e9b58
|
@ -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( '<span class="screen-reader-text">"', '"</span>', false )
|
||||
__( 'Edit <span class="screen-reader-text">%s</span>', '_s' ),
|
||||
get_the_title()
|
||||
),
|
||||
'<span class="edit-link">',
|
||||
'</span>'
|
||||
|
|
|
@ -31,8 +31,8 @@
|
|||
edit_post_link(
|
||||
sprintf(
|
||||
/* translators: %s: Name of current post */
|
||||
esc_html__( 'Edit %s', '_s' ),
|
||||
the_title( '<span class="screen-reader-text">"', '"</span>', false )
|
||||
__( 'Edit <span class="screen-reader-text">%s</span>', '_s' ),
|
||||
get_the_title()
|
||||
),
|
||||
'<span class="edit-link">',
|
||||
'</span>'
|
||||
|
|
Reference in New Issue