From 2a035cdab8ee5c79e1cc29ffeada5758c771ca79 Mon Sep 17 00:00:00 2001 From: rob1n Date: Sun, 1 Apr 2007 15:57:13 +0000 Subject: [PATCH] Add CSS class in if it's not empty when there's no comments. fixes #2180 git-svn-id: http://svn.automattic.com/wordpress/trunk@5165 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/comment-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index f506c1ac05..02ea682f2d 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -331,7 +331,7 @@ function comments_popup_link($zero='No Comments', $one='1 Comment', $more='% Com $number = get_comments_number($id); if ( 0 == $number && 'closed' == $post->comment_status && 'closed' == $post->ping_status ) { - echo $none; + echo '' . $none . ''; return; }