[wp-trac] [WordPress Trac] #20541: taxonomy_exists doesn't work within switch_to_blog

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 28 13:54:19 UTC 2012


#20541: taxonomy_exists doesn't work within switch_to_blog
--------------------------+----------------------
 Reporter:  mooontes      |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Taxonomy      |     Version:  3.3.1
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |
--------------------------+----------------------
Changes (by nacin):

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


Comment:

 If you have a taxonomy registered on the original blog, it will be
 available on the other sites you switch to.

 switch_to_blog() is unfortunately not magical, and cannot load plugins and
 deactivate others based on the context of the site. By necessity, this
 makes many switch() situations depend on the architecture of the network.

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


More information about the wp-trac mailing list