[wp-trac] [WordPress Trac] #14992: When Object Caching is enabled switch_to_blog causes issues with some functions

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 9 19:14:55 UTC 2010


#14992: When Object Caching is enabled switch_to_blog causes issues with some
functions
---------------------------+------------------------------------------------
 Reporter:  simonwheatley  |       Owner:                 
     Type:  defect (bug)   |      Status:  new            
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Multisite      |     Version:                 
 Severity:  major          |    Keywords:  dev-feedback   
---------------------------+------------------------------------------------

Comment(by prettyboymp):

 Replying to [comment:4 scribu]:
 > Related: #15361

 I believe both of these issues could be solved if the calls to
 wp_cache_init() are replaced with wp_start_object_cache() and the
 different cache providers correctly implement a wp_cache_reset() function
 that handles the reset accordingly, whether that is swithing to a new
 cache server, clearing local cache, or just doing nothing.

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


More information about the wp-trac mailing list