Allow `bp_core_admin_tabs()` to be filtered.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7630 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Improve return/break logic in `bp_core_add_contextual_help_content()`.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7631 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
In `bp_core_add_contextual_help_content`(), move string concatenation to the end of the function, rather than on each switch case.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7632 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Remove unused `$current_tab` variable in `bp_admin_do_wp_nav_menu_meta_box()`.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7633 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Use strict comparison in `bp_admin_wp_nav_menu_restrict_items()`.

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

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7635 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Correct PHPDoc for BP_User_Query

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

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7637 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Prevent BP_User_Query from fetching spam users on alphabetical sort

BP_User_Query's 'alphabetical' sort type, in contrast to the other values of
'type', does not look at users' last_activity usermeta value. As a result, it
cannot infer spam/deleted/activated status in the same way as the other 'type'
values. To prevent spammed/deleted/unactivated users from being returned on
alphabetical sorts, we do a subquery that limits results to user_status = 0.

Fixes #5114

Props sbrajesh, imath

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

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7639 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Bump version numbers to 1.9-beta2

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7640 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
In `bp_core_add_root_component()` create `BuddyPress::add_root` array if it does not yet exist, preventing a debug notice.

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

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7643 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Improve documentation in the Friends component. See #5022

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7644 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Improve documentation in the Groups component. See #5022

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

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7646 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Fix empty content in private message notification emails.

See #5273.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7647 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Improve inline documentation in bp-groups. See #5022

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

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7649 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Cast args to a new variable in messages_notification_new_message()

r7621 made it possible for this function to accept a $message object in
addition to an array, by casting the arguments to an array. However, this
caused downstream problems when the $message object was passed by reference,
as in the case of 'messages_message_sent'. This changeset leaves the passed
object untouched.

Fixes #5273

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