Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #7077, comment 7


Ignore:
Timestamp:
05/28/2016 04:37:58 PM (9 years ago)
Author:
Offereins
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7077, comment 7

    initial v1  
    11As mentioned in [https://wordpress.slack.com/archives/buddypress/p1464452060004460 Slack], the `bp_register_taxonomies()` function now only runs when switching blogs. Since it doesn't run outside of the scope, `wp_get_object_terms()` consequently returns an `invalid_taxonomy` error for the current blog: the taxonomy isn't registered.
    22
    3 This can be fixed by moving the register function outside of the switch block. Patch attached.
     3This can be fixed by moving the registration function outside of the switch block. Patch attached.