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

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 22 21:42:26 UTC 2010


#14941: switch_to_blog() runs with active plugins of original blog
--------------------------+-------------------------------------------------
 Reporter:  madtownlems   |        Owner:         
     Type:  defect (bug)  |       Status:  closed 
 Priority:  normal        |    Milestone:         
Component:  General       |      Version:         
 Severity:  normal        |   Resolution:  invalid
 Keywords:                |  
--------------------------+-------------------------------------------------
Changes (by scribu):

  * status:  new => closed
  * resolution:  => invalid
  * milestone:  Awaiting Review =>


Comment:

 switch_to_blog() is only meant to change the ''data'' (DB tables) you're
 working with, not the code.

 That's because you can't un-require a php file in the same pageload.

 Closing as 'invalid' although the correct resolution would be 'cantfix'.

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


More information about the wp-trac mailing list