- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/comments.php
r14935 r15145 16 16 <div id="comments"> 17 17 <?php if ( post_password_required() ) : ?> 18 < div class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'twentyten' ); ?></div>18 <p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'twentyten' ); ?></p> 19 19 </div><!-- #comments --> 20 20 <?php … … 37 37 ?></h3> 38 38 39 <?php if ( get_comment_pages_count() > 1 ) : // Are there comments to navigate through? ?>39 <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?> 40 40 <div class="navigation"> 41 41 <div class="nav-previous"><?php previous_comments_link( __( '<span class="meta-nav">←</span> Older Comments', 'twentyten' ) ); ?></div> … … 56 56 </ol> 57 57 58 <?php if ( get_comment_pages_count() > 1 ) : // Are there comments to navigate through? ?>58 <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?> 59 59 <div class="navigation"> 60 60 <div class="nav-previous"><?php previous_comments_link( __( '<span class="meta-nav">←</span> Older Comments', 'twentyten' ) ); ?></div>
Note: See TracChangeset
for help on using the changeset viewer.