[buddypress-trac] [BuddyPress Trac] #8400: Group Types: filtering by types fails on front end

buddypress-trac noreply at wordpress.org
Thu Nov 19 21:32:51 UTC 2020


#8400: Group Types: filtering by types fails on front end
--------------------------+-----------------------
 Reporter:  imath         |      Owner:  imath
     Type:  defect (bug)  |     Status:  assigned
 Priority:  normal        |  Milestone:  7.0.0
Component:  Groups        |    Version:
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------
 Checking how the `bp_group_type_list()` was generating the Group Type
 directory link and I noticed the `bp_groups_get_group_types()` was
 filtering the group type before merging Group Type metadata. Result was I
 was displayed the wrong Group Type.

 The attached patch is fixing the issue moving the code to filter group
 types after Group Type metadata has been merged.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8400>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list