Make WordPress Core


Ignore:
Timestamp:
10/11/2012 10:26:06 PM (13 years ago)
Author:
lancewillett
Message:

Twenty Twelve: add missing reply link to post format templates, props obenland. Fixes #22169.

File:
1 edited

Legend:

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

    r21933 r22203  
    2323
    2424        <footer class="entry-meta">
     25            <?php if ( comments_open() ) : ?>
     26            <div class="comments-link">
     27                <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentytwelve' ) . '</span>', __( '1 Reply', 'twentytwelve' ), __( '% Replies', 'twentytwelve' ) ); ?>
     28            </div><!-- .comments-link -->
     29            <?php endif; // comments_open() ?>
    2530            <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?>
    2631        </footer><!-- .entry-meta -->
Note: See TracChangeset for help on using the changeset viewer.