In WP_Comments_List_Table::column_comment()
, $post
and $the_comment_status
are unused, as is the $comment_status
global.
See #32444. git-svn-id: https://develop.svn.wordpress.org/trunk@32736 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9bb0d08c14
commit
ca123a2054
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user