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

WordPress Trac noreply at wordpress.org
Fri Oct 19 01:37:37 UTC 2012


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

Comment (by nacin):

 Replying to [comment:12 ryan]:
 > Replying to [comment:10 scribu]:
 > > Actually, I think setting the cache only when passing an ID to
 get_post() is the sane thing to do.
 >
 > It does fix all problems and does so by removing a single line of code.

 I like this.

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


More information about the wp-trac mailing list