Make WordPress Core

Changeset 18039


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

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

Location:
trunk/wp-content/themes/twentyeleven
Files:
2 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,
  • trunk/wp-content/themes/twentyeleven/style.css

    r18033 r18039  
    16771677    text-transform: uppercase;
    16781678}
     1679.nopassword,
    16791680.nocomments {
    16801681    color: #aaa;
Note: See TracChangeset for help on using the changeset viewer.