Make WordPress Core


Ignore:
Timestamp:
10/11/2012 11:39:24 PM (14 years ago)
Author:
lancewillett
Message:

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

File:
1 edited

Legend:

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

    r22203 r22206  
    1717            <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark">
    1818                <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>
    2020            </a>
    2121            <?php if ( comments_open() ) : ?>
Note: See TracChangeset for help on using the changeset viewer.