[wp-trac] [WordPress Trac] #21595: get_blog_post() and get_blog_permalink() create duplicate caches that aren't invalidated
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 15 17:56:04 UTC 2012
#21595: get_blog_post() and get_blog_permalink() create duplicate caches that
aren't invalidated
--------------------------+--------------------
Reporter: ryan | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.5
Component: Cache | Version: 3.4.1
Severity: normal | Resolution:
Keywords: |
--------------------------+--------------------
Comment (by nacin):
get_blog_post() should also use switch_to_blog() like
get_blog_permalink().
Persistent caching that we get via switch_to_blog() should be enough, no?
The double-caching seems weird.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21595#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list