[buddypress-trac] [BuddyPress Trac] #7224: bp_groups_get_group_type() probably shouldn't return unregistered group types.

buddypress-trac noreply at wordpress.org
Tue Aug 30 18:44:52 UTC 2016


#7224: bp_groups_get_group_type() probably shouldn't return unregistered group
types.
-------------------------+----------------------
 Reporter:  dcavins      |       Owner:  dcavins
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  2.7
Component:  Groups       |     Version:  2.6.0
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |
-------------------------+----------------------
Changes (by dcavins):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"11046"]:
 {{{
 #!CommitTicketReference repository="" revision="11046"
 Return active types only in bp_groups_get_group_type().

 When compiling the array of types for the group in
 `bp_groups_get_group_type()`, only include those types that are
 currently registered.

 Fixes #7224.
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7224#comment:6>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list