From 5302fde0bc8a7dac8093d48f3f023aad4dc681f6 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: http://core.svn.wordpress.org/trunk@22588 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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'] ) ) : ?> +

+ + +