Ticket #19093: timetodata.diff
File timetodata.diff, 2.7 KB (added by , 12 years ago) |
---|
-
wp-content/themes/twentyeleven/content-image.php
31 31 <footer class="entry-meta"> 32 32 <div class="entry-meta"> 33 33 <?php 34 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' ),34 printf( __( '<a href="%1$s" rel="bookmark"><data class="entry-date" itemprop="datePublished" value="%2$s">%3$s</data></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' ), 35 35 esc_url( get_permalink() ), 36 36 get_the_date( 'c' ), 37 37 get_the_date(), -
wp-content/themes/twentyeleven/functions.php
519 519 /* translators: 1: comment author, 2: date and time */ 520 520 printf( __( '%1$s on %2$s <span class="says">said:</span>', 'twentyeleven' ), 521 521 sprintf( '<span class="fn">%s</span>', get_comment_author_link() ), 522 sprintf( '<a href="%1$s">< time pubdate datetime="%2$s">%3$s</time></a>',522 sprintf( '<a href="%1$s"><data itemprop="datePublished" value="%2$s">%3$s</data></a>', 523 523 esc_url( get_comment_link( $comment->comment_ID ) ), 524 524 get_comment_time( 'c' ), 525 525 /* translators: 1: date, 2: time */ … … 559 559 * @since Twenty Eleven 1.0 560 560 */ 561 561 function twentyeleven_posted_on() { 562 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' ),562 printf( __( '<span class="sep">Posted on </span><a href="%1$s" title="%2$s" rel="bookmark"><data class="entry-date" itemprop="datePublished" value="%3$s">%4$s</data></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' ), 563 563 esc_url( get_permalink() ), 564 564 esc_attr( get_the_time() ), 565 565 esc_attr( get_the_date( 'c' ) ),