buddypress/tests/phpunit/testcases
Mathieu Viet 3b5103b21b Only delete the "new_blog" activity when its author is removed from the Blog.
Before this commit, as soon as any contributor was removed from the blog, the "new_blog" activity was also removed although the removed user was not the author of the activity.
It is no more the case. This activity will only be deleted if the user who created the blog is removed from it.
This commit also make sure this activity is not deleted twice as some duplicate code has been left when moving the activity code inside the `bp-blogs-activity.php` file during the 2.6 dev-cycle.

See #7199 (branch 2.6)

git-svn-id: https://buddypress.svn.wordpress.org/branches/2.6@10970 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2016-07-30 11:36:02 +00:00
..
activity Activity: Fine-tune activity reply screen notifications when activity stream commenting is enabled. 2016-06-22 21:17:23 +00:00
admin Emails: fix situations not being correctly assigned to email posts. 2016-03-09 20:32:09 +00:00
blogs Only delete the "new_blog" activity when its author is removed from the Blog. 2016-07-30 11:36:02 +00:00
core Fix syntax error in back compat block of bp_core_remove_subnav_item(). 2016-06-10 14:53:53 +00:00
friends Activity: add test for deleting user when they have no bp_last_activity cache set. 2016-05-12 18:47:49 +00:00
groups Groups: Change logic for groups_check_user_has_invite() and groups_check_for_membership_request(). 2016-05-28 21:02:10 +00:00
members Make sure the password is set to what user chose when signing up with a blog 2016-07-06 17:00:00 +00:00
messages Messages: Return generic WP Error in messages_new_message() when necessary. 2016-02-12 23:29:33 +00:00
notifications Notifications: Fix issue with querying notifications by string format. 2016-06-28 17:23:49 +00:00
routing URI: Support members shortlink redirection. 2016-05-19 18:04:47 +00:00
settings Improve sanitization of email notification settings. 2015-11-11 03:22:53 +00:00
xprofile Invalidate profile field cache on update. 2016-06-10 17:39:34 +00:00