Travis: run tests on WP 4.0 branch now that is has been released.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8979 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Welcome Screen: update "new install" messaging.

Resembling the design of the top part of WordPress' dashboard, the first column shows the list and links to Settings > BuddyPress panels, the second column lists the BP panels in wp-admin, and the third column shows the links to the support forums and codex.

Props mercime, fixes #5840

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

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8981 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Groups: rename the administration "Admin" navigation item to "Manage" to disambiguate the string.

Fixes #5782, props Dianakc

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

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8983 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Make sure the current administration screen ID is set before checking its value

In {{{BP_Members_Admin->remove_signups_from_user_query()}}}, to avoid a notice error, we need to check that {{{get_current_screen()->id}}} is set.

Props boonebgorges

Fixes #5843

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

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8985 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
XProfile: Purge profile group cache when profile groups are reordered.

Commit also includes a unit test.

Fixes #5860.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8986 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Make sure xprofile_sync_bp_profile() happens when a user is edited

Bring back checks on the $update var and WordPress error that were removed in r8810 so that the xProfile sync only happens when a user is edited. Add a unit test.

Props boonebgorges

Fixes #5836

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

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8988 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
bp-legacy: Fix notice when replying to private group activity updates via AJAX.

When a reply is made to an activity update, we have to repopulate the
`$activities_template` global with the new activity object.

However, when we fetch the new private activity comment, we have to add a
check for the visibility of the item as well.  This currently isn't done,
which led to the notices and the non-existence of the activity object.

This commit addresses the issue by setting the `show_hidden` parameter to
`true` when fetching the new activity item, ensuring that the
`$activities_template->activity` object will be set.

Fixes #5862.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8989 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Activity: Purge comment cache when an activity comment is deleted.

Fixes issues with object caching holding deleted activity comments.
Commit also includes a unit test.

Fixes #5863.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8990 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
XProfile Admin: Add placeholder attribute to group name and field name input fields.

This improves the UX when having to add a new profile group or profile
field on the "Users > Profile Fields" admin page.

Fixes #5859.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8991 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
XProfile: Rename "Profile > Profile" subnav tab back to "Profile > View".

See #5777.

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

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8993 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Remove 'Edit' post link on BuddyPress pages.

Changes in bp_core_load_template() (r8932) to set the post to the current
BP directory page and #5418 to set the post type to 'page' resulted in
showing the "Edit" post link at the bottom of BuddyPress pages and in
the WP Toolbar for users with the 'edit_post' capability.

Since the "Edit" post link does not make sense on BuddyPress pages, this
commit manually removes the 'Edit' post link from rendering on BuddyPress
pages and in the WP Toolbar.

Fixes #5853.

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

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8995 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Activity: Clear comment cache when adding an activity comment with `bp_activity_add()`.

This commit fixes issues with the activity comment cache not being cleared
when a new activity comment is created using `bp_activity_add()`.

This notably occurs when posting a blog comment and when the activity stream
commenting for blog posts feature is enabled.  See `bp_blogs_record_comment()`.

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

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8997 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Bring `bp_get_blog_last_active()` up to parity with `bp_get_member_last_active()` for 2.1.

Also fix speeling error in `bp_get_member_last_active()`.

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