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

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 25 10:41:43 UTC 2012


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

Comment (by scribu):

 This is also true for post_type_exists() and in general for all functions
 that rely on globals.

 I guess being able to use switch_to_blog() would be one benefit of storing
 post type and taxonomy definitions in the database.

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


More information about the wp-trac mailing list