WordPress.org

Make WordPress Core

Changeset 22621


Ignore:
Timestamp:
11/16/2012 10:06:01 PM (8 years ago)
Author:
lancewillett
Message:

Twenty Ten: clean up r22617, remove extra end comment and indent code. See #20469.

File:
1 edited

Legend:

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

    r22617 r22621  
    6363<?php endif; // check for comment navigation ?>
    6464
    65 <?php
    66 /* If there are no comments and comments are closed, let's leave a little note, shall we?
    67  * But we only want the note on posts and pages that had comments in the first place.
    68  */
    69 if ( ! comments_open() && get_comments_number() ) : ?>
    70     <p class="nocomments"><?php _e( 'Comments are closed.' , 'twentyten' ); ?></p>
    71 <?php endif; // end ! comments_open ?>
     65    <?php
     66    /* If there are no comments and comments are closed, let's leave a little note, shall we?
     67    * But we only want the note on posts and pages that had comments in the first place.
     68    */
     69    if ( ! comments_open() && get_comments_number() ) : ?>
     70        <p class="nocomments"><?php _e( 'Comments are closed.' , 'twentyten' ); ?></p>
     71    <?php endif; ?>
    7272
    7373<?php endif; // end have_comments() ?>
Note: See TracChangeset for help on using the changeset viewer.