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

WordPress Trac noreply at wordpress.org
Sun Jan 19 15:57:21 UTC 2014


#22251: Helper function to simplify checking for constants
-------------------------+-----------------------------
 Reporter:  evansolomon  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+-----------------------------
Changes (by nacin):

 * milestone:  Awaiting Review => Future Release


Comment:

 In theory, I like this. Making them immutable is an interesting idea.

 Has anyone ever taken a look at old bbPress? It has a $bb object where you
 can set option names/values. I wonder if we can learn from their
 implementation (including what not to do).

 I am all for repurposing the WP class for more things when it makes sense.

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


More information about the wp-trac mailing list