WordPress.org

Make WordPress Core

Changeset 21723


Ignore:
Timestamp:
09/04/12 04:17:49 (20 months ago)
Author:
lancewillett
Message:

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

Location:
trunk/wp-content/themes/twentytwelve
Files:
5 edited

Legend:

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

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

    r21675 r21723  
    1818                <h1><?php the_title(); ?></h1> 
    1919                <h2><time class="entry-date" datetime="<?php echo esc_attr( get_the_date( 'c' ) ); ?>" pubdate><?php echo get_the_date(); ?></time></h2> 
     20                <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?> 
    2021            </a> 
    2122        </footer><!-- .entry-meta --> 
  • 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 --> 
  • trunk/wp-content/themes/twentytwelve/content-quote.php

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

    r21721 r21723  
    877877    color: #777; 
    878878} 
    879 footer .edit-link { 
    880     margin: 24px 0; 
    881     margin: 1.714285714rem 0; 
    882 } 
    883879 
    884880 
Note: See TracChangeset for help on using the changeset viewer.