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

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 5 00:31:09 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     |
----------------------------+------------------------------
Changes (by mikeschinkel):

 * cc: mikeschinkel@… (added)


Comment:

 Replying to [comment:9 scribu]:
 > Why:
 >
 > {{{
 > private $_options = array();
 > }}}
 >
 > instead of just:
 >
 > {{{
 > private $options = array();
 > }}}
 >
 > ?

 One place where leading underscores are really helpful is when using the
 properties in a subclass where the declarations are not always directly or
 easily viewable.

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


More information about the wp-trac mailing list