[buddypress-trac] [BuddyPress Trac] #6892: Email taxonomy registered on wrong site in multisite

buddypress-trac noreply at wordpress.org
Fri Feb 12 14:12:17 UTC 2016

#6892: Email taxonomy registered on wrong site in multisite
 Reporter:  needle            |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  2.5
Component:  Component - Core  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  dev-feedback      |

Comment (by djpaul):

 In [changeset:"10580"]:
 #!CommitTicketReference repository="" revision="10580"
 Core: in BP taxonomy functions, make sure taxonomies are registered.

 These functions already use `switch_to_blog` to ensure we are operating on
 the root blog context, but as WordPress doesn't update its internal list
 of registered taxonomies when this happen, core functions that use
 `taxonomy_exists` will fail.

 By registering our taxonomies if we have to switch blog context, we
 prevent failures that could otherwise occur in a handful of multisite

 See #6892

 Props boonebgorges

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6892#comment:18>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list