From f88b42be94e538cf8da4b910f265604acee83b68 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Fri, 12 Jun 2015 18:39:25 +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. Built from https://develop.svn.wordpress.org/trunk@32736 git-svn-id: http://core.svn.wordpress.org/trunk@32707 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-comments-list-table.php | 7 ------- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/wp-admin/includes/class-wp-comments-list-table.php b/wp-admin/includes/class-wp-comments-list-table.php index 5326063868..2c1d1f5335 100644 --- a/wp-admin/includes/class-wp-comments-list-table.php +++ b/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 ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 41e11eba98..f96c2d13dd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.3-alpha-32735'; +$wp_version = '4.3-alpha-32736'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.