WordPress.org

Make WordPress Core

Ticket #17437: 17437.diff

File 17437.diff, 1.8 KB (added by zeo, 4 years ago)
  • wp-content/themes/twentyeleven/style.css

     
    16761676        padding: 0 0 2.6em; 
    16771677        text-transform: uppercase; 
    16781678} 
     1679.nopassword, 
    16791680.nocomments { 
    16801681        color: #aaa; 
    16811682        font-size: 24px; 
     
    23572358} 
    23582359#ie7 section.recent-posts { 
    23592360        margin-right: 7.6%; 
    2360 } 
    2361  No newline at end of file 
     2361} 
  • wp-content/themes/twentyeleven/comments.php

     
    33 * The template for displaying Comments. 
    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 * 
    1010 * @package WordPress 
     
    1414?> 
    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, 
    2121                         * but don't kill the script entirely -- we still have 
     
    8585 
    8686        <?php comment_form(); ?> 
    8787 
    88 </div><!-- #comments --> 
    89  No newline at end of file 
     88</div><!-- #comments -->