Twenty Fifteen: Remove unnecessary `esc_html()` from `get_the_date()` and `get_the_modified_date()`.
see #30724. Built from https://develop.svn.wordpress.org/trunk@30905 git-svn-id: http://core.svn.wordpress.org/trunk@30895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9592b26cbe
commit
e328484e66
|
@ -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