From fc3b7b20cd243cfdc93087907856634cf3315d61 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Wed, 23 Sep 2015 04:25:18 +0000 Subject: [PATCH] Links: the `esc_html()` additions in [34444] aren't very nice to screen reader ``s. Revert those specific calls. See #14900. git-svn-id: https://develop.svn.wordpress.org/trunk@34452 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/link-template.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/link-template.php b/src/wp-includes/link-template.php index 84b7d69ccd..9d9fc00ad7 100644 --- a/src/wp-includes/link-template.php +++ b/src/wp-includes/link-template.php @@ -682,7 +682,7 @@ function post_comments_feed_link( $link_text = '', $post_id = '', $feed = '' ) { $link_text = __('Comments Feed'); } - $link = '' . esc_html( $link_text ) . ''; + $link = '' . $link_text . ''; /** * Filter the post comment feed link anchor tag. * @@ -1292,7 +1292,7 @@ function edit_post_link( $text = null, $before = '', $after = '', $id = 0, $clas $text = __( 'Edit This' ); } - $link = '' . esc_html( $text ) . ''; + $link = '' . $text . ''; /** * Filter the post edit link anchor tag. @@ -1394,7 +1394,7 @@ function edit_comment_link( $text = null, $before = '', $after = '' ) { $text = __( 'Edit This' ); } - $link = '' . esc_html( $text ) . ''; + $link = '' . $text . ''; /** * Filter the comment edit link anchor tag. @@ -1454,7 +1454,7 @@ function edit_bookmark_link( $link = '', $before = '', $after = '', $bookmark = if ( empty($link) ) $link = __('Edit This'); - $link = '' . esc_html( $link ) . ''; + $link = '' . $link . ''; /** * Filter the bookmark edit link anchor tag.