Make WordPress Core

Ticket #2180: 2180.diff

File 2180.diff, 503 bytes (added by rob1n, 18 years ago)
  • wp-includes/comment-template.php

     
    331331        $number = get_comments_number($id);
    332332
    333333        if ( 0 == $number && 'closed' == $post->comment_status && 'closed' == $post->ping_status ) {
    334                 echo $none;
     334                echo '<span' . ((!empty($CSSclass)) ? ' class="' . $CSSclass . '"' : '') . '>' . $none . '</span>';
    335335                return;
    336336        }
    337337