[buddypress-trac] [BuddyPress Trac] #7225: bp_get_member_type() probably shouldn't return unregistered types.

buddypress-trac noreply at wordpress.org
Tue Aug 30 18:39:57 UTC 2016


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

 * owner:   => dcavins
 * status:  new => closed
 * resolution:   => fixed


Comment:

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

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

 Fixes #7225.
 }}}

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


More information about the buddypress-trac mailing list