From 0419c86b543f6dea0de3d94dcb3d8c8ecdd4a892 Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Tue, 16 Dec 2014 13:40:22 +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. Built from https://develop.svn.wordpress.org/trunk@30901 git-svn-id: http://core.svn.wordpress.org/trunk@30891 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyfifteen/inc/template-tags.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-content/themes/twentyfifteen/inc/template-tags.php b/wp-content/themes/twentyfifteen/inc/template-tags.php index e34629476b..59f8cabd56 100644 --- a/wp-content/themes/twentyfifteen/inc/template-tags.php +++ b/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() ); }