WordPress.org

Make WordPress Core

Changeset 32736


Ignore:
Timestamp:
06/12/2015 06:38:26 PM (4 years ago)
Author:
wonderboymusic
Message:

In WP_Comments_List_Table::column_comment(), $post and $the_comment_status are unused, as is the $comment_status global.

See #32444.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-comments-list-table.php

    r32660 r32736  
    575575
    576576    /**
    577      *
    578      * @global string $comment_status
    579      *
    580577     * @param object $comment
    581578     */
    582579    public function column_comment( $comment ) {
    583         global $comment_status;
    584         $post = get_post();
    585 
    586580        $comment_url = esc_url( get_comment_link( $comment->comment_ID ) );
    587         $the_comment_status = wp_get_comment_status( $comment->comment_ID );
    588581
    589582        echo '<div class="comment-author">';
Note: See TracChangeset for help on using the changeset viewer.