From ca123a20545b126758c3179d0be7869ed84c173b Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Fri, 12 Jun 2015 18:38:26 +0000 Subject: [PATCH] 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 --- src/wp-admin/includes/class-wp-comments-list-table.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/wp-admin/includes/class-wp-comments-list-table.php b/src/wp-admin/includes/class-wp-comments-list-table.php index 5326063868..2c1d1f5335 100644 --- a/src/wp-admin/includes/class-wp-comments-list-table.php +++ b/src/wp-admin/includes/class-wp-comments-list-table.php @@ -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 '
'; $this->column_author( $comment );