Make WordPress Core


Ignore:
Timestamp:
04/01/2007 03:57:13 PM (18 years ago)
Author:
rob1n
Message:

Add CSS class in if it's not empty when there's no comments. fixes #2180

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/comment-template.php

    r5116 r5165  
    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    }
Note: See TracChangeset for help on using the changeset viewer.