taxonomy_exists doesn't work within switch_to_blog
|Reported by:||mooontes||Owned by:|
And because of this, wp_get_object_terms doesn't work either
The problem is that "taxonomy_exists" relies on "$wp_taxomies" array that is not repopulated when using "switch_to_blog".
Blog ID 1 -> taxonomies: 'companies', 'cities'
Blog ID 2 -> taxonomies: 'brands'
//We are at Blog 1 switch_to_blog(2); $brands = wp_get_post_terms($post->ID, 'brands'); //This give us an error of "invalid taxonomy" (it's using blog 1 taxonomies' to check against)