[wp-trac] [WordPress Trac] #14581: No magic numbers

WordPress Trac noreply at wordpress.org
Fri Jun 20 21:28:21 UTC 2014


#14581: No magic numbers
------------------------------------+------------------
 Reporter:  ryan                    |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  4.0
Component:  Database                |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+------------------

Comment (by DrewAPicture):

 As discussed elsewhere with @wonderboymusic, I could definitely see
 simplifying with something like this, though we'll need to be careful with
 the verbiage of whatever term we use for "on" and "off".

 Perhaps something more like `*_ENABLED|DISABLED", or `*_TRUE|FALSE`.

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


More information about the wp-trac mailing list