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
This commit is contained in:
Dominik Schilling 2014-12-16 13:40:22 +00:00
parent 6ebb326c54
commit 0419c86b54

View File

@ -84,7 +84,7 @@ function twentyfifteen_entry_meta() {
printf( '<span class="byline"><span class="author vcard"><span class="screen-reader-text">%1$s </span><a class="url fn n" href="%2$s">%3$s</a></span></span>',
_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()
);
}