Remove unused variables and eliminate PHP notices from BP_Core_Login_Widget::update()

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8032 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Whitespace

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8033 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
POT, generated from r8033

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8034 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Don't remove 'updated_profile' from registered activity actions

This activity type was reintroduced in r7998. See #4636

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8035 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
POT, generated from r8035

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8036 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Set bp_notifications_add_notification() arguments correctly in case of a new_membership_request

The group id needs to be the item_id argument of bp_notifications_add_notification() in case a member requested to join the group. The patch also makes sure the link to the user notification settings page is the one of the administrator of the group in the email sent to inform him of a new membership request.

Fixes #5446

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8037 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
POT, generated from r8037

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8038 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Templates: correct mis-named action in members/single/friends.php template.

Fixes #5311, props modemlooper

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8039 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
More generous tests for blog meta cache

The current test assumes we know exhaustively what the blog meta keys will be.
The new technique only checks to make sure that our whitelist is present in the
cache, which is all we really need to check to verify that the cache priming
is working.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8040 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Declare $wpdb global in testcase go_to() method

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8041 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Add 'include_blog_ids' param to bp_has_blogs() stack

The key 'include_blog_ids' was chosen because of the somewhat odd schema of
the blogs table: the primary key in that table is not the blog, but is for the
user-blog relationship. 'include_blog_ids' underscores that results will be
limited by the 'blog_id' table.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8042 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
POT, generated from r8042

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8043 cdf35c40-ae34-48e0-9cc9-0c9da1808c22