Make WordPress Core

Ticket #18447: comment-table.2.diff

File comment-table.2.diff, 637 bytes (added by josephscott, 13 years ago)
  • wp-admin/includes/class-wp-comments-list-table.php

     
    311311
    312312                $this->user_can = current_user_can( 'edit_comment', $comment->comment_ID );
    313313
    314                 echo "<tr id='comment-$comment->comment_ID' class='$the_comment_status'>";
     314                echo "<tr id='comment-$comment->comment_ID' class='" . join( ' ', get_comment_class( $the_comment_status ) ) . "'>";
    315315                echo $this->single_row_columns( $comment );
    316316                echo "</tr>";
    317317        }