Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/comments.php

    r14935 r15145  
    1616            <div id="comments">
    1717<?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>
    1919            </div><!-- #comments -->
    2020<?php
     
    3737            ?></h3>
    3838
    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? ?>
    4040            <div class="navigation">
    4141                <div class="nav-previous"><?php previous_comments_link( __( '<span class="meta-nav">&larr;</span> Older Comments', 'twentyten' ) ); ?></div>
     
    5656            </ol>
    5757
    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? ?>
    5959            <div class="navigation">
    6060                <div class="nav-previous"><?php previous_comments_link( __( '<span class="meta-nav">&larr;</span> Older Comments', 'twentyten' ) ); ?></div>
Note: See TracChangeset for help on using the changeset viewer.