Changeset 18594
- Timestamp:
- 08/24/2011 11:12:07 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-comments-list-table.php
r18041 r18594 306 306 307 307 $comment = $a_comment; 308 $the_comment_ status = wp_get_comment_status( $comment->comment_ID);308 $the_comment_class = join( ' ', get_comment_class( wp_get_comment_status( $comment->comment_ID ) ) ); 309 309 310 310 $post = get_post( $comment->comment_post_ID ); … … 312 312 $this->user_can = current_user_can( 'edit_comment', $comment->comment_ID ); 313 313 314 echo "<tr id='comment-$comment->comment_ID' class='$the_comment_ status'>";314 echo "<tr id='comment-$comment->comment_ID' class='$the_comment_class'>"; 315 315 echo $this->single_row_columns( $comment ); 316 316 echo "</tr>";
Note: See TracChangeset
for help on using the changeset viewer.