[buddypress-trac] [BuddyPress Trac] #8639: Type error in `bp_remove_member_type()`

buddypress-trac noreply at wordpress.org
Sun Feb 20 17:59:21 UTC 2022


#8639: Type error in `bp_remove_member_type()`
--------------------------------------+-----------------------
 Reporter:  imath                     |       Owner:  imath
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  10.1.0
Component:  Members                   |     Version:  2.3.0
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |
--------------------------------------+-----------------------

Comment (by imath):

 In [changeset:"13239" 13239]:
 {{{
 #!CommitTicketReference repository="" revision="13239"
 Make sure member has a type before trying to remove one

 Avoid a PHP Type error if the member has no member types and the
 Administrator (or more probably a plugin) tries to remove it.

 Props sx1001

 See #8639 (trunk)
 }}}

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


More information about the buddypress-trac mailing list