Changes between Initial Version and Version 1 of Ticket #7077, comment 7
- Timestamp:
- 05/28/2016 04:37:58 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7077, comment 7
initial v1 1 1 As 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. 2 2 3 This can be fixed by moving the regist erfunction outside of the switch block. Patch attached.3 This can be fixed by moving the registration function outside of the switch block. Patch attached.