From d57de9f65497576d180ba9849e8d33fb88974647 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: https://develop.svn.wordpress.org/trunk@5165 602fd350-edb4-49c9-b593-d223f7449a82 --- 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; }