I’ve found an issue on a site which I’d had on a very old version of BuddyPress (2.9.4). We updated to BP 7 and tested, everything seemed to be fine.
I’m not sure what’s changed but now there’s something odd going on, messing certain features up.
The issue didn’t seem to be happening locally, and I realised that locally I’d not updated the core BP plugin. I did so, and the issue matched the live site.
This seems to be related to the introduction of types in 7.0 (https://bpdevel.wordpress.com/2020/09/21/bp-types-admin-ui/). In admin now under Groups, there’s 2 ‘Group Types’ menu entries – one is for a post type (the Create Group Types plugin) and one is for a taxonomy (BP core).
I’ve a page which output the group types as tabs, and it uses
bp_groups_get_group_types()to get the group types. This has been working for a long time, but now it’s getting the taxonomy terms (there’s a bunch of these, I’m not sure where they’re coming from, but the tabs are all blank as
$group_type->labels['name']seems to be empty for the group type taxonomy terms being pulled in.
I appreciate I’ve probably missed something in the time I took to update BP core, but I’m not sure how I’m supposed to adapt to the problems caused by the new group types taxonomy.
- The topic ‘Clash with new BP group types taxonomy?’ is closed to new replies.