[wp-trac] [WordPress Trac] #11630: 0 is not a valid cache key for posts

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 20 22:55:38 UTC 2012


#11630: 0 is not a valid cache key for posts
--------------------------+---------------------
 Reporter:  hakre         |       Owner:  ryan
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.5
Component:  Cache         |     Version:  2.9
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |
--------------------------+---------------------
Changes (by nacin):

 * keywords:  has-patch reporter-feedback close =>
 * status:  reopened => closed
 * resolution:   => fixed
 * milestone:  Future Release => 3.5


Comment:

 This is now handled by WP_Post, which returns false in get_instance() if
 $post evaluates to false. See #21559.

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


More information about the wp-trac mailing list