WordPress.org

Make WordPress Core

Ticket #21722: 21722.diff

File 21722.diff, 4.1 KB (added by obenland, 6 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_date(); edit_post_link( __( 'Edit', 'twentytwelve' ), ', <span class="edit-link">', '</span>' ); ?></h2>
    1919                </footer><!-- .entry-meta -->
    2020        </article><!-- #post -->
  • wp-content/themes/twentytwelve/content-link.php

     
    1515                </div><!-- .entry-content -->
    1616
    1717                <footer class="entry-meta">
    18                         <?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>
    20                 </footer><!-- .entry-meta -->
     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><?php
     19                        edit_post_link( __( 'Edit', 'twentytwelve' ), ', <span class="edit-link">', '</span>' ); ?>
     20                        </footer><!-- .entry-meta -->
    2121        </article><!-- #post -->
  • wp-content/themes/twentytwelve/style.css

     
    878878        line-height: 1.846153846;
    879879        color: #777;
    880880}
    881 footer .edit-link {
    882         margin: 24px 0;
    883         margin: 1.714285714rem 0;
    884 }
    885881
    886 
    887882/* =Archives
    888883-------------------------------------------------------------- */
    889884
  • wp-content/themes/twentytwelve/content-aside.php

     
    1717        </div><!-- .aside -->
    1818
    1919        <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>
     20                <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><?php
     21                edit_post_link( __( 'Edit', 'twentytwelve' ), ', <span class="edit-link">', '</span>' ); ?>
    2222        </footer><!-- .entry-meta -->
    2323</article><!-- #post -->
  • wp-content/themes/twentytwelve/content-quote.php

     
    1414        </div><!-- .entry-content -->
    1515
    1616        <footer class="entry-meta">
    17                 <?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>
     17                <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><?php
     18                edit_post_link( __( 'Edit', 'twentytwelve' ), ', <span class="edit-link">', '</span>' ); ?>
    1919        </footer><!-- .entry-meta -->
    2020</article><!-- #post -->