Make WordPress Core


Ignore:
Timestamp:
08/30/2012 07:32:05 PM (14 years ago)
Author:
lancewillett
Message:

Twenty Twelve: go with echo get_the_date() here, added in r21670 but reverted accidentally in r21674. Props obenland.

File:
1 edited

Legend:

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

    r21674 r21675  
    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 the_date(); ?></time></h2>
     19                <h2><time class="entry-date" datetime="<?php echo esc_attr( get_the_date( 'c' ) ); ?>" pubdate><?php echo get_the_date(); ?></time></h2>
    2020            </a>
    2121        </footer><!-- .entry-meta -->
Note: See TracChangeset for help on using the changeset viewer.