From 1ca9749c93dace3922bcd816ce0116a3fa0a85f7 Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Tue, 16 Dec 2014 13:39:32 +0000 Subject: [PATCH] Twenty Fifteen: Remove `esc_html()` from `get_the_author()`. The display name is sanitized through `sanitize_text_field`, `wp_filter_kses`, and `_wp_specialchars`. see #30724. git-svn-id: https://develop.svn.wordpress.org/trunk@30901 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyfifteen/inc/template-tags.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-content/themes/twentyfifteen/inc/template-tags.php b/src/wp-content/themes/twentyfifteen/inc/template-tags.php index e34629476b..59f8cabd56 100644 --- a/src/wp-content/themes/twentyfifteen/inc/template-tags.php +++ b/src/wp-content/themes/twentyfifteen/inc/template-tags.php @@ -84,7 +84,7 @@ function twentyfifteen_entry_meta() { printf( '%1$s %3$s', _x( 'Author', 'Used before post author name.', 'twentyfifteen' ), esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), - esc_html( get_the_author() ) + get_the_author() ); }