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:
Scott Taylor 2015-06-12 18:39:25 +00:00
parent 55b3ec92f4
commit f88b42be94
2 changed files with 1 additions and 8 deletions

View File

@ -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 );

View File

@ -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.