[wp-trac] [WordPress Trac] #22234: Use access modifiers in classes, not the var keyword

WordPress Trac noreply at wordpress.org
Mon May 19 17:19:11 UTC 2014


#22234: Use access modifiers in classes, not the var keyword
----------------------------+-------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  4.0
Component:  General         |     Version:  1.5
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  docs
----------------------------+-------------------

Comment (by wonderboymusic):

 In [changeset:"28531"]:
 {{{
 #!CommitTicketReference repository="" revision="28531"
 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.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/22234#comment:58>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list