[wp-trac] [WordPress Trac] #18392: When checking to see if terms are in the cache, if statement should check to see if exactly false, not empty

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 16 16:57:00 UTC 2011


#18392: When checking to see if terms are in the cache, if statement should check
to see if exactly false, not empty
--------------------------+------------------------------
 Reporter:  wpdavis       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.0
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------------
Changes (by brianlayman):

 * cc: Brian@… (added)
 * keywords:  has-patch => needs-patch
 * version:   => 3.0


Comment:

 in #16505 wpdavis does actually confirm that an an empty array what is
 returned, not FALSE. It sounds like both of these tickets should be
 addressed.  Specifically this needs to be evaluated after #16505 is fixed.

 So this should be set to future release like #16505

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


More information about the wp-trac mailing list