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

git-svn-id: https://develop.svn.wordpress.org/trunk@22621 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Lance Willett 2012-11-16 22:06:01 +00:00
parent b6736b8a6b
commit f675bc1e34
1 changed files with 7 additions and 7 deletions

View File

@ -62,13 +62,13 @@
</div><!-- .navigation -->
<?php endif; // check for comment navigation ?>
<?php
/* If there are no comments and comments are closed, let's leave a little note, shall we?
* But we only want the note on posts and pages that had comments in the first place.
*/
if ( ! comments_open() && get_comments_number() ) : ?>
<p class="nocomments"><?php _e( 'Comments are closed.' , 'twentyten' ); ?></p>
<?php endif; // end ! comments_open ?>
<?php
/* If there are no comments and comments are closed, let's leave a little note, shall we?
* But we only want the note on posts and pages that had comments in the first place.
*/
if ( ! comments_open() && get_comments_number() ) : ?>
<p class="nocomments"><?php _e( 'Comments are closed.' , 'twentyten' ); ?></p>
<?php endif; ?>
<?php endif; // end have_comments() ?>