1
0
Fork 0
mirror of https://github.com/buddypress/buddypress.git synced 2026-07-23 21:06:56 +08:00
buddypress/tests/phpunit/testcases/members
Mathieu Viet 24d0701379 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)



git-svn-id: https://buddypress.svn.wordpress.org/branches/10.0@13240 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2022-02-20 18:10:18 +00:00
..
template Use static factory method throughout PHPUnit tests. 2017-11-03 19:44:10 +00:00
activity.php Remove a new_avatar activity when an avatar was deleted from history 2021-12-11 19:40:10 +00:00
cache.php Use static factory method throughout PHPUnit tests. 2017-11-03 19:44:10 +00:00
class-bp-signup.php Use the assertContains method instead of assertEquals for a unit test 2021-10-08 20:37:03 +00:00
functions.php Members: stop mirroring user last_activity data to user metadata 2020-10-15 18:33:17 +00:00
template.php i18n: improve translator comments for the "Active %s" string 2020-11-19 12:33:58 +00:00
types.php Make sure member has a type before trying to remove one 2022-02-20 18:10:18 +00:00