WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/25/2011 05:13:02 PM (10 years ago)
Author:
iandstewart
Message:

Twenty Eleven: consistent styles for .nopassword and .nocomments; Props zeo; Fixes #17437

File:
1 edited

Legend:

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

    r17959 r18039  
    44 *
    55 * The area of the page that contains both current comments
    6  * and the comment form.  The actual display of comments is
    7  * handled by a callback to twentyeleven_comment which is
     6 * and the comment form. The actual display of comments is
     7 * handled by a callback to twentyeleven_comment() which is
    88 * located in the functions.php file.
    99 *
     
    1515    <div id="comments">
    1616    <?php if ( post_password_required() ) : ?>
    17         <div class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'twentyeleven' ); ?></div>
    18     </div><!-- .comments -->
     17        <p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'twentyeleven' ); ?></p>
     18    </div><!-- #comments -->
    1919    <?php
    2020            /* Stop the rest of comments.php from being processed,
Note: See TracChangeset for help on using the changeset viewer.