[wp-trac] [WordPress Trac] #22251: Helper function to simplify checking for constants

WordPress Trac noreply at wordpress.org
Tue Oct 23 21:22:27 UTC 2012


#22251: Helper function to simplify checking for constants
-------------------------+------------------------------
 Reporter:  evansolomon  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by alex-ye):

 It might be a stupid question , but You worried a lot of the constants
 count ?! Is it really bad ?! and You just suggestion to use class vars
 instead of ?! Yes it's a good to clean the code but sometimes we the
 constants is a good practice ...

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


More information about the wp-trac mailing list