[wp-trac] [WordPress Trac] #31047: Option nonexistence should not be checked against false

WordPress Trac noreply at wordpress.org
Mon Jan 19 15:38:29 UTC 2015


#31047: Option nonexistence should not be checked against false
-------------------------------------+------------------
 Reporter:  GregLone                 |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  4.2
Component:  Options, Meta APIs       |     Version:  3.4
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------
Changes (by boonebgorges):

 * milestone:  Awaiting Review => 4.2


Comment:

 >  I wonder how this wasn't found and fixed earlier.

 Me too.

 [attachment:31047.2.patch] adds unit tests demonstrating the problem and
 solution. Let's fix this for 4.2.

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


More information about the wp-trac mailing list