diff --git a/wp-admin/includes/class-wp-comments-list-table.php b/wp-admin/includes/class-wp-comments-list-table.php index fd25129b67..27380c82e1 100644 --- a/wp-admin/includes/class-wp-comments-list-table.php +++ b/wp-admin/includes/class-wp-comments-list-table.php @@ -305,13 +305,13 @@ class WP_Comments_List_Table extends WP_List_Table { global $post, $comment, $the_comment_status; $comment = $a_comment; - $the_comment_status = wp_get_comment_status( $comment->comment_ID ); + $the_comment_class = join( ' ', get_comment_class( wp_get_comment_status( $comment->comment_ID ) ) ); $post = get_post( $comment->comment_post_ID ); $this->user_can = current_user_can( 'edit_comment', $comment->comment_ID ); - echo ""; + echo ""; echo $this->single_row_columns( $comment ); echo ""; }