From 43107f767c1bb18708c955aa06e816d646671bdb Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Thu, 15 Nov 2012 00:48:03 +0000 Subject: [PATCH] Twenty Eleven: better closed comments notes. Check only for "comment" type comments when deciding whether to show the message. Props iandstewart and obenland, closes #20469. git-svn-id: https://develop.svn.wordpress.org/trunk@22588 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-content/themes/twentyeleven/comments.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/wp-content/themes/twentyeleven/comments.php b/wp-content/themes/twentyeleven/comments.php index 359b001c6c..63f48280b5 100644 --- a/wp-content/themes/twentyeleven/comments.php +++ b/wp-content/themes/twentyeleven/comments.php @@ -63,14 +63,15 @@ - -

- + if ( ! comments_open() && ! empty( $comments_by_type['comment'] ) ) : ?> +

+ + +