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

git-svn-id: http://core.svn.wordpress.org/trunk@22621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2012-11-16 22:06:01 +00:00
parent e31f46e731
commit f8bbb4c6d0
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() ?>