[wp-trac] [WordPress Trac] #22072: get_adjacent_post_rel_link() Can poison the post cache

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 1 21:56:22 UTC 2012


#22072: get_adjacent_post_rel_link() Can poison the post cache
--------------------------+------------------------------
 Reporter:  mdawaffe      |       Owner:  nacin
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Cache         |     Version:  3.4
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+------------------------------
Changes (by nacin):

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


Comment:

 In [22095]:
 {{{
 #!CommitTicketReference repository="" revision="22095"
 Do not modify the post object in get_adjacent_post_rel_link(). Prior to
 3.5 this could have poisioned the post's cache. props mdawaffe, fixes
 #22072.
 }}}

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


More information about the wp-trac mailing list