Add tests for bp_make_spam/ham_user and make_spam/ham_user filters.

Filters names were originally assigned to a passed in variable but
they were separated out for documentation purposes.

See #5944.


git-svn-id: https://buddypress.svn.wordpress.org/trunk@9233 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Tests: after using our `grant_super_admin` helper, use `restore_admins` after the assertion to tidy up the `$super_admins` global.

This was otherwise breaking the seemingly unrelated tests added in r9233 when run in multisite. See #5944

git-svn-id: https://buddypress.svn.wordpress.org/trunk@9234 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Hide 'Field Name' screen-reader-text on xProfile field edit when a title exists.

This ensures that we don't see overlapping text in the case of existing fields.

See [9084].

Fixes #6073.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@9235 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Add actions on the Profile Fields admin page.

Also cleans up a bit of code formatting for the `<legend>` elemnts on this
screen.

Props slaFFik.
Fixes #5673.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@9236 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Travis: run tests on PHP 5.6 and WP 4.1 branch.

WP 4.1's been released, and PHP 5.6 has been out for several months now.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@9237 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Travis: attempting to fix a test failure for WP 3.7 + PHP 5.6.

We had a similar fix in for PHP, this change makes that comparision a little more general so we don't run into this problem in the future.

See r9237 and https://travis-ci.org/buddypress/BuddyPress/jobs/44511661

git-svn-id: https://buddypress.svn.wordpress.org/trunk@9238 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Bump "tested up to" version to 4.1.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@9239 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Improve `<label>` markup for mesage search form.

* Associate the label properly with the labeled element.
* Add bp-screen-reader-text class for better consistency with other similar text in BP templates.

Props hnla.
Fixes #6010.

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