Make WordPress Core


Ignore:
Timestamp:
09/04/2012 04:17:49 AM (13 years ago)
Author:
lancewillett
Message:

Twenty Twelve: fix edit_post_link() inconsistencies, props obenland. Fixes #21722.

File:
1 edited

Legend:

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

    r21670 r21723  
    1616
    1717        <footer class="entry-meta">
    18             <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<div class="edit-link">', '</div>' ); ?>
    1918            <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>
     19            <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?>
    2020        </footer><!-- .entry-meta -->
    2121    </article><!-- #post -->
Note: See TracChangeset for help on using the changeset viewer.