[wp-trac] [WordPress Trac] #39278: Old syntax for variables inside WP_User class

WordPress Trac noreply at wordpress.org
Wed Dec 14 13:10:53 UTC 2016


#39278: Old syntax for variables inside WP_User class
----------------------------+-----------------------------
 Reporter:  prosti          |      Owner:
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  trunk
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 Inside the wp-includes/class-wp-user.php you can find

 {{{#!php
 <?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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39278>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list