Ticket #18447: comment-table.diff
File comment-table.diff, 779 bytes (added by , 13 years ago) |
---|
-
wp-admin/includes/class-wp-comments-list-table.php
311 311 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 $data_commenttype = 'comment'; 315 if ( !empty( $comment->comment_type ) ) { 316 $data_commenttype = esc_html( $comment->comment_type ); 317 } 318 319 echo "<tr id='comment-$comment->comment_ID' class='$the_comment_status' data-commenttype='$data_commenttype'>"; 315 320 echo $this->single_row_columns( $comment ); 316 321 echo "</tr>"; 317 322 }