mirror of
git://develop.git.wordpress.org/
synced 2025-03-22 13:00:29 +01:00
Pass comment ID and comment post ID to get_comment_class() in WP_Comments_List_Table::single_row().
props drozdz. fixes #25814. git-svn-id: https://develop.svn.wordpress.org/trunk@26001 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
acc8ac64b8
commit
6fa1c89458
@ -311,7 +311,8 @@ class WP_Comments_List_Table extends WP_List_Table {
|
||||
global $post, $comment;
|
||||
|
||||
$comment = $a_comment;
|
||||
$the_comment_class = join( ' ', get_comment_class( wp_get_comment_status( $comment->comment_ID ) ) );
|
||||
$the_comment_class = wp_get_comment_status( $comment->comment_ID );
|
||||
$the_comment_class = join( ' ', get_comment_class( $the_comment_class, $comment->comment_ID, $comment->comment_post_ID ) );
|
||||
|
||||
$post = get_post( $comment->comment_post_ID );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user