Changeset 5165

Show
Ignore:
Timestamp:
04/01/07 15:57:13 (2 years ago)
Author:
rob1n
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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    }