Twenty Eleven: remove invalid pubdate value from time elements. See #22095.
git-svn-id: http://core.svn.wordpress.org/trunk@22213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3ee553c6bc
commit
7ca388af6f
|
@ -31,7 +31,7 @@
|
|||
<footer class="entry-meta">
|
||||
<div class="entry-meta">
|
||||
<?php
|
||||
printf( __( '<a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s" pubdate>%3$s</time></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%4$s" title="%5$s" rel="author">%6$s</a></span></span>', 'twentyeleven' ),
|
||||
printf( __( '<a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s">%3$s</time></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%4$s" title="%5$s" rel="author">%6$s</a></span></span>', 'twentyeleven' ),
|
||||
esc_url( get_permalink() ),
|
||||
get_the_date( 'c' ),
|
||||
get_the_date(),
|
||||
|
|
|
@ -540,7 +540,7 @@ function twentyeleven_comment( $comment, $args, $depth ) {
|
|||
/* translators: 1: comment author, 2: date and time */
|
||||
printf( __( '%1$s on %2$s <span class="says">said:</span>', 'twentyeleven' ),
|
||||
sprintf( '<span class="fn">%s</span>', get_comment_author_link() ),
|
||||
sprintf( '<a href="%1$s"><time pubdate datetime="%2$s">%3$s</time></a>',
|
||||
sprintf( '<a href="%1$s"><time datetime="%2$s">%3$s</time></a>',
|
||||
esc_url( get_comment_link( $comment->comment_ID ) ),
|
||||
get_comment_time( 'c' ),
|
||||
/* translators: 1: date, 2: time */
|
||||
|
@ -580,7 +580,7 @@ if ( ! function_exists( 'twentyeleven_posted_on' ) ) :
|
|||
* @since Twenty Eleven 1.0
|
||||
*/
|
||||
function twentyeleven_posted_on() {
|
||||
printf( __( '<span class="sep">Posted on </span><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s" pubdate>%4$s</time></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s" rel="author">%7$s</a></span></span>', 'twentyeleven' ),
|
||||
printf( __( '<span class="sep">Posted on </span><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s">%4$s</time></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s" rel="author">%7$s</a></span></span>', 'twentyeleven' ),
|
||||
esc_url( get_permalink() ),
|
||||
esc_attr( get_the_time() ),
|
||||
esc_attr( get_the_date( 'c' ) ),
|
||||
|
|
Loading…
Reference in New Issue