Merge pull request #1279 from mboynes/patch-1

Fix datetime values
This commit is contained in:
Ulrich Pogson 2018-04-03 13:48:47 +02:00 committed by GitHub
commit c4ad6256ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -18,9 +18,9 @@ if ( ! function_exists( '_s_posted_on' ) ) :
} }
$time_string = sprintf( $time_string, $time_string = sprintf( $time_string,
esc_attr( get_the_date( 'c' ) ), esc_attr( get_the_date( DATE_W3C ) ),
esc_html( get_the_date() ), esc_html( get_the_date() ),
esc_attr( get_the_modified_date( 'c' ) ), esc_attr( get_the_modified_date( DATE_W3C ) ),
esc_html( get_the_modified_date() ) esc_html( get_the_modified_date() )
); );