Ticket #21721: 21721.2.diff

File 21721.2.diff, 3.2 KB (added by obenland, 9 months ago)

Picks up Ocean90's suggestion

Line 
1Index: wp-content/themes/twentytwelve/content-image.php
2===================================================================
3--- wp-content/themes/twentytwelve/content-image.php    (revision 21653)
4+++ wp-content/themes/twentytwelve/content-image.php    (working copy)
5@@ -15,6 +15,6 @@
6 
7                <footer class="entry-meta">
8                        <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>
9-                       <h2><?php the_date(); ?></h2>
10+                       <h2><?php echo get_the_date(); ?></h2>
11                </footer><!-- .entry-meta -->
12        </article><!-- #post -->
13Index: wp-content/themes/twentytwelve/content-link.php
14===================================================================
15--- wp-content/themes/twentytwelve/content-link.php     (revision 21653)
16+++ wp-content/themes/twentytwelve/content-link.php     (working copy)
17@@ -16,6 +16,6 @@
18 
19                <footer class="entry-meta">
20                        <?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>
22+                       <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php echo get_the_date(); ?></a>
23                </footer><!-- .entry-meta -->
24        </article><!-- #post -->
25Index: wp-content/themes/twentytwelve/content-aside.php
26===================================================================
27--- wp-content/themes/twentytwelve/content-aside.php    (revision 21653)
28+++ wp-content/themes/twentytwelve/content-aside.php    (working copy)
29@@ -18,6 +18,6 @@
30 
31        <footer class="entry-meta">
32                <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<div class="edit-link">', '</div>' ); ?>
33-               <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>
34+               <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php echo get_the_date(); ?></a>
35        </footer><!-- .entry-meta -->
36 </article><!-- #post -->
37Index: wp-content/themes/twentytwelve/content-quote.php
38===================================================================
39--- wp-content/themes/twentytwelve/content-quote.php    (revision 21653)
40+++ wp-content/themes/twentytwelve/content-quote.php    (working copy)
41@@ -15,6 +15,6 @@
42 
43        <footer class="entry-meta">
44                <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<div class="edit-link">', '</div>' ); ?>
45-               <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>
46+               <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php echo get_the_date(); ?></a>
47        </footer><!-- .entry-meta -->
48 </article><!-- #post -->