get_the_author() should not be escaped when used as text. Escaping should only occur when used in an attribute.

This commit is contained in:
Michael Fields 2012-12-19 17:31:04 -08:00
parent b6b88b4201
commit b1c1073f91
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ function _s_posted_on() {
esc_html( get_the_date() ), esc_html( get_the_date() ),
esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
esc_attr( sprintf( __( 'View all posts by %s', '_s' ), get_the_author() ) ), esc_attr( sprintf( __( 'View all posts by %s', '_s' ), get_the_author() ) ),
esc_html( get_the_author() ) get_the_author()
); );
} }
endif; endif;