[wp-trac] [WordPress Trac] #22223: Potential for post cache corruption since r21735

WordPress Trac noreply at wordpress.org
Fri Oct 19 21:53:20 UTC 2012


#22223: Potential for post cache corruption since r21735
--------------------------+---------------------
 Reporter:  ryan          |       Owner:  ryan
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.5
Component:  Cache         |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |
--------------------------+---------------------
Changes (by ryan):

 * owner:   => ryan
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [22264]:
 {{{
 #!CommitTicketReference repository="" revision="22264"
 Don't wp_cache_add() stdClass objects in get_post() to avoid polluting the
 cache with incomplete or otherwise compromised objects.

 Declare the core properties of WP_Pist as proper public properties and
 provide them with defaults.

 Props wonderboymusic
 fixes #22223
 }}}

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


More information about the wp-trac mailing list