Changeset 22206
- Timestamp:
- 10/11/2012 11:39:24 PM (12 years ago)
- Location:
- trunk/wp-content/themes/twentytwelve
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentytwelve/content-image.php
r22203 r22206 17 17 <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"> 18 18 <h1><?php the_title(); ?></h1> 19 <h2><time class="entry-date" datetime="<?php echo esc_attr( get_the_date( 'c' ) ); ?>" pubdate><?php echo get_the_date(); ?></time></h2>19 <h2><time class="entry-date" datetime="<?php echo esc_attr( get_the_date( 'c' ) ); ?>"><?php echo get_the_date(); ?></time></h2> 20 20 </a> 21 21 <?php if ( comments_open() ) : ?> -
trunk/wp-content/themes/twentytwelve/functions.php
r22201 r22206 289 289 ( $comment->user_id === $post->post_author ) ? '<span> ' . __( 'Post author', 'twentytwelve' ) . '</span>' : '' 290 290 ); 291 printf( '<a href="%1$s"><time pubdatedatetime="%2$s">%3$s</time></a>',291 printf( '<a href="%1$s"><time datetime="%2$s">%3$s</time></a>', 292 292 esc_url( get_comment_link( $comment->comment_ID ) ), 293 293 get_comment_time( 'c' ), … … 332 332 $tag_list = get_the_tag_list( '', __( ', ', 'twentytwelve' ) ); 333 333 334 $date = sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s" pubdate>%4$s</time></a>',334 $date = sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s">%4$s</time></a>', 335 335 esc_url( get_permalink() ), 336 336 esc_attr( get_the_time() ), -
trunk/wp-content/themes/twentytwelve/image.php
r22048 r22206 24 24 <?php 25 25 $metadata = wp_get_attachment_metadata(); 26 printf( __( '<span class="meta-prep meta-prep-entry-date">Published </span> <span class="entry-date"><time class="entry-date" datetime="%1$s" pubdate>%2$s</time></span> at <a href="%3$s" title="Link to full-size image">%4$s × %5$s</a> in <a href="%6$s" title="Return to %7$s" rel="gallery">%8$s</a>.', 'twentytwelve' ),26 printf( __( '<span class="meta-prep meta-prep-entry-date">Published </span> <span class="entry-date"><time class="entry-date" datetime="%1$s">%2$s</time></span> at <a href="%3$s" title="Link to full-size image">%4$s × %5$s</a> in <a href="%6$s" title="Return to %7$s" rel="gallery">%8$s</a>.', 'twentytwelve' ), 27 27 esc_attr( get_the_date( 'c' ) ), 28 28 esc_html( get_the_date() ),
Note: See TracChangeset
for help on using the changeset viewer.