WordPress.org

Make WordPress Core

Changeset 22213


Ignore:
Timestamp:
10/12/12 16:12:14 (3 years ago)
Author:
lancewillett
Message:

Twenty Eleven: remove invalid pubdate value from time elements. See #22095.

Location:
trunk/wp-content/themes/twentyeleven
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyeleven/content-image.php

    r22199 r22213  
    3232            <div class="entry-meta"> 
    3333                <?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"><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' ), 
    3535                        esc_url( get_permalink() ), 
    3636                        get_the_date( 'c' ), 
  • trunk/wp-content/themes/twentyeleven/functions.php

    r21490 r22213  
    541541                        printf( __( '%1$s on %2$s <span class="says">said:</span>', 'twentyeleven' ), 
    542542                            sprintf( '<span class="fn">%s</span>', get_comment_author_link() ), 
    543                             sprintf( '<a href="%1$s"><time pubdate datetime="%2$s">%3$s</time></a>', 
     543                            sprintf( '<a href="%1$s"><time datetime="%2$s">%3$s</time></a>', 
    544544                                esc_url( get_comment_link( $comment->comment_ID ) ), 
    545545                                get_comment_time( 'c' ), 
     
    581581 */ 
    582582function twentyeleven_posted_on() { 
    583     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' ), 
     583    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' ), 
    584584        esc_url( get_permalink() ), 
    585585        esc_attr( get_the_time() ), 
Note: See TracChangeset for help on using the changeset viewer.