Make WordPress Core


Ignore:
Timestamp:
05/19/2014 05:19:09 PM (11 years ago)
Author:
wonderboymusic
Message:

Upgrade _WP_List_Table_Compat to PHP5-style constructor.

Add public to methods/members of WP_Role.
Add public to methods/members of WP_User where appropriate. Don't set private where indicated until more study has occurred and tests have been written for compatibiliy with existing magic methods.

See #27881, #22234.

File:
1 edited

Legend:

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

    r28500 r28531  
    8888    public $_columns;
    8989
    90     public function _WP_List_Table_Compat( $screen, $columns = array() ) {
     90    public function __construct( $screen, $columns = array() ) {
    9191        if ( is_string( $screen ) )
    9292            $screen = convert_to_screen( $screen );
Note: See TracChangeset for help on using the changeset viewer.