WordPress.org

Make WordPress Core

Ticket #21721: 21721.diff

File 21721.diff, 3.3 KB (added by obenland, 3 years 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><?php the_time( get_option( 'date_format' ) ); ?></h2> 
    1919                </footer><!-- .entry-meta --> 
    2020        </article><!-- #post --> 
  • wp-content/themes/twentytwelve/content-link.php

     
    1616 
    1717                <footer class="entry-meta"> 
    1818                        <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<div class="edit-link">', '</div>' ); ?> 
    19                         <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_date(); ?></a> 
     19                        <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_time( get_option( 'date_format' ) ); ?></a> 
    2020                </footer><!-- .entry-meta --> 
    2121        </article><!-- #post --> 
  • wp-content/themes/twentytwelve/content-aside.php

     
    1818 
    1919        <footer class="entry-meta"> 
    2020                <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<div class="edit-link">', '</div>' ); ?> 
    21                 <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_date(); ?></a> 
     21                <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_time( get_option( 'date_format' ) ); ?></a> 
    2222        </footer><!-- .entry-meta --> 
    2323</article><!-- #post --> 
  • wp-content/themes/twentytwelve/content-quote.php

     
    1515 
    1616        <footer class="entry-meta"> 
    1717                <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<div class="edit-link">', '</div>' ); ?> 
    18                 <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_date(); ?></a> 
     18                <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_time( get_option( 'date_format' ) ); ?></a> 
    1919        </footer><!-- .entry-meta --> 
    2020</article><!-- #post -->