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-users-list-table.php

    r17439 r17771  
    1313    var $is_site_users;
    1414
    15     function WP_Users_List_Table() {
     15    function __construct() {
    1616        $screen = get_current_screen();
    1717        $this->is_site_users = 'site-users-network' == $screen->id;
     
    2020            $this->site_id = isset( $_REQUEST['id'] ) ? intval( $_REQUEST['id'] ) : 0;
    2121
    22         parent::WP_List_Table( array(
     22        parent::__construct( array(
    2323            'singular' => 'user',
    2424            'plural'   => 'users'
Note: See TracChangeset for help on using the changeset viewer.