[wp-trac] [WordPress Trac] #20236: Improper testing of cache retrievals causes wasted queries.
WordPress Trac
wp-trac at lists.automattic.com
Wed Mar 14 16:12:38 UTC 2012
#20236: Improper testing of cache retrievals causes wasted queries.
--------------------------+------------------
Reporter: andy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.4
Component: Cache | Version:
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------
Comment (by scribu):
I always thought that `(bool) array()` evaluates to `true`, but that's
obviously not the case:
http://ch2.php.net/manual/en/language.types.boolean.php
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20236#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list