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

buddypress-trac noreply at wordpress.org
Sun Feb 20 18:10:25 UTC 2022


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

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


Comment:

 In [changeset:"13240" 13240]:
 {{{
 #!CommitTicketReference repository="" revision="13240"
 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

 Fixes #8639 (branch 10.0)
 }}}

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


More information about the buddypress-trac mailing list