forked from mirror/_s
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:
parent
b6b88b4201
commit
b1c1073f91
|
@ -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;
|
||||||
|
|
Reference in New Issue