forked from mirror/_s
_s: In comments.php there's a line that reads "if comments are closed and no comments are...". Let's get rid of the "no" since comments must be present in order for the .nocomments text to be shown.
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9560 d957f892-c61d-0410-b221-f235e6eecf30
This commit is contained in:
parent
175ef5d5e7
commit
55ab0fa5d6
|
@ -65,7 +65,7 @@
|
||||||
<?php endif; // have_comments() ?>
|
<?php endif; // have_comments() ?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// If comments are closed and there are no comments, let's leave a little note, shall we?
|
// If comments are closed and there are comments, let's leave a little note, shall we?
|
||||||
if ( ! comments_open() && '0' != get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) :
|
if ( ! comments_open() && '0' != get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) :
|
||||||
?>
|
?>
|
||||||
<p class="nocomments"><?php _e( 'Comments are closed.', '_s' ); ?></p>
|
<p class="nocomments"><?php _e( 'Comments are closed.', '_s' ); ?></p>
|
||||||
|
|
Reference in New Issue