Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.1/wp-admin/includes/class-wp-comments-list-table.php

    r18041 r17384  
    2222    var $pending_count = array();
    2323
    24     function __construct() {
     24    function WP_Comments_List_Table() {
    2525        global $post_id;
    2626
     
    3030            add_filter( 'comment_author', 'floated_admin_avatar' );
    3131
    32         parent::__construct( array(
     32        parent::WP_List_Table( array(
    3333            'plural' => 'comments',
    3434            'singular' => 'comment',
     
    110110            $_comment_post_ids[] = $_c->comment_post_ID;
    111111        }
    112 
    113         $_comment_post_ids = array_unique( $_comment_post_ids );
    114112
    115113        $this->pending_count = get_pending_comments_num( $_comment_post_ids );
Note: See TracChangeset for help on using the changeset viewer.