[wp-trac] [WordPress Trac] #18785: Modernize screen functions

WordPress Trac wp-trac at lists.automattic.com
Sat Oct 1 19:11:56 UTC 2011


#18785: Modernize screen functions
----------------------------+------------------------------
 Reporter:  nacin           |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  3.3
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |
----------------------------+------------------------------

Comment (by scribu):

 Regarding [18857]:

 Why:

 {{{
 private $_options = array();
 }}}

 instead of just:

 {{{
 private $options = array();
 }}}

 Adding a leading underscore to private properties is a PHP4 practice, when
 there were no actual access modifiers. It's not necessary anymore.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18785#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list