WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/29/2011 08:05:12 PM (9 years ago)
Author:
ryan
Message:

Constructor cleanup. Props ocean90. fixes #16768

File:
1 edited

Legend:

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

    r17383 r17771  
    2222    var $pending_count = array();
    2323
    24     function WP_Comments_List_Table() {
     24    function __construct() {
    2525        global $post_id;
    2626
     
    3030            add_filter( 'comment_author', 'floated_admin_avatar' );
    3131
    32         parent::WP_List_Table( array(
     32        parent::__construct( array(
    3333            'plural' => 'comments',
    3434            'singular' => 'comment',
Note: See TracChangeset for help on using the changeset viewer.