Skip to content

Commit

Permalink
Twenty Fifteen: Remove unnecessary esc_html() from get_the_date()
Browse files Browse the repository at this point in the history
… 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
  • Loading branch information
ocean90 committed Dec 16, 2014
1 parent 9592b26 commit e328484
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wp-content/themes/twentyfifteen/inc/template-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ function twentyfifteen_entry_meta() {

$time_string = sprintf( $time_string,
esc_attr( get_the_date( 'c' ) ),
esc_html( get_the_date() ),
get_the_date(),
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>',
Expand Down

0 comments on commit e328484

Please sign in to comment.