In WP_Comments_List_Table::column_comment(), $post and $the_comment_status are unused, as is the $comment_status global.
See #32444. Built from https://develop.svn.wordpress.org/trunk@32736 git-svn-id: http://core.svn.wordpress.org/trunk@32707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -574,17 +574,10 @@ class WP_Comments_List_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @global string $comment_status
|
||||
*
|
||||
* @param object $comment
|
||||
*/
|
||||
public function column_comment( $comment ) {
|
||||
global $comment_status;
|
||||
$post = get_post();
|
||||
|
||||
$comment_url = esc_url( get_comment_link( $comment->comment_ID ) );
|
||||
$the_comment_status = wp_get_comment_status( $comment->comment_ID );
|
||||
|
||||
echo '<div class="comment-author">';
|
||||
$this->column_author( $comment );
|
||||
|
||||
Reference in New Issue
Block a user