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.


git-svn-id: https://develop.svn.wordpress.org/trunk@28531 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2014-05-19 17:19:09 +00:00
parent be2e5f6fb5
commit dc1ada20c7
2 changed files with 34 additions and 34 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ class _WP_List_Table_Compat extends WP_List_Table {
public $_screen;
public $_columns;
public function _WP_List_Table_Compat( $screen, $columns = array() ) {
public function __construct( $screen, $columns = array() ) {
if ( is_string( $screen ) )
$screen = convert_to_screen( $screen );