WordPress.org

Make WordPress Core

Ticket #21723: 21723.2.diff

File 21723.2.diff, 853 bytes (added by obenland, 20 months ago)
  • wp-content/themes/twentytwelve/content-image.php

     
    1515 
    1616                <footer class="entry-meta"> 
    1717                        <h1><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1> 
    18                         <h2><?php the_date(); ?></h2> 
     18                        <h2><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( get_the_time() ); ?>" rel="bookmark"><time class="entry-date" datetime="<?php echo esc_attr( get_the_date( 'c' ) ); ?>" pubdate><?php the_date(); ?></time></a></h2> 
    1919                </footer><!-- .entry-meta --> 
    2020        </article><!-- #post -->