Opened 8 years ago
Closed 8 years ago
#39278 closed enhancement (fixed)
Old syntax for variables inside WP_User class
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.8 | Priority: | normal |
Severity: | normal | Version: | 4.8 |
Component: | Users | Keywords: | |
Focuses: | administration | Cc: |
Description
Inside the wp-includes/class-wp-user.php you can find
<?php var $filter = null;
while all other class fields are either private or public according to the new PHP5 syntax.
https://github.com/WordPress/WordPress/blob/master/wp-includes/class-wp-user.php#L90-97
If possible make the filter also public, because this is the equivalent of var.
Change History (4)
Note: See
TracTickets for help on using
tickets.
Related: [28531]