From b1c1073f91528c7e8c83347f2bcb147515dc79b4 Mon Sep 17 00:00:00 2001 From: Michael Fields Date: Wed, 19 Dec 2012 17:31:04 -0800 Subject: [PATCH] get_the_author() should not be escaped when used as text. Escaping should only occur when used in an attribute. --- inc/template-tags.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/template-tags.php b/inc/template-tags.php index af0ca301..eb38c992 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -130,7 +130,7 @@ function _s_posted_on() { esc_html( get_the_date() ), esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_attr( sprintf( __( 'View all posts by %s', '_s' ), get_the_author() ) ), - esc_html( get_the_author() ) + get_the_author() ); } endif;