[wp-trac] [WordPress Trac] #14941: switch_to_blog() runs with active plugins of original blog

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 23 11:37:13 UTC 2010


#14941: switch_to_blog() runs with active plugins of original blog
-------------------------------+--------------------------------------------
 Reporter:  madtownlems        |        Owner:          
     Type:  feature request    |       Status:  reopened
 Priority:  normal             |    Milestone:          
Component:  General            |      Version:  3.0     
 Severity:  normal             |   Resolution:          
 Keywords:  reporter-feedback  |  
-------------------------------+--------------------------------------------

Comment(by nacin):

 As scribu said, we can't uninclude plugins of the initial blog. Subsequent
 switches will then cause additional issues. If you need this kind of
 awareness, then have a network plugin with blog checks throughout.

 Switch_to_blog serves relatively limited purpose and cannot swap
 everything.

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


More information about the wp-trac mailing list