Opened 10 years ago
Closed 10 years ago
#39278 closed enhancement (fixed)
Old syntax for variables inside WP_User class
| Reported by: | prosti | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.8 |
| Component: | Users | Version: | 4.8 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | administration |
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]