[wp-trac] [WordPress Trac] #22223: Potential for post cache corruption since r21735
WordPress Trac
noreply at wordpress.org
Fri Oct 19 01:15:55 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 scribu):
Actually, I think setting the cache only when passing an ID to get_post()
is the sane thing to do.
Beyond that, just let WP_Query handle the pre-caching, using
update_post_caches().
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22223#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list