Twenty Fifteen: Remove unnecessary esc_html()
from get_the_date()
and get_the_modified_date()
.
see #30724. git-svn-id: https://develop.svn.wordpress.org/trunk@30905 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2069d52fa1
commit
b258a6c144
@ -67,9 +67,9 @@ function twentyfifteen_entry_meta() {
|
|||||||
|
|
||||||
$time_string = sprintf( $time_string,
|
$time_string = sprintf( $time_string,
|
||||||
esc_attr( get_the_date( 'c' ) ),
|
esc_attr( get_the_date( 'c' ) ),
|
||||||
esc_html( get_the_date() ),
|
get_the_date(),
|
||||||
esc_attr( get_the_modified_date( 'c' ) ),
|
esc_attr( get_the_modified_date( 'c' ) ),
|
||||||
esc_html( get_the_modified_date() )
|
get_the_modified_date()
|
||||||
);
|
);
|
||||||
|
|
||||||
printf( '<span class="posted-on"><span class="screen-reader-text">%1$s </span><a href="%2$s" rel="bookmark">%3$s</a></span>',
|
printf( '<span class="posted-on"><span class="screen-reader-text">%1$s </span><a href="%2$s" rel="bookmark">%3$s</a></span>',
|
||||||
|
Loading…
Reference in New Issue
Block a user