Pagination text for a groups loop with a single group should read "Viewing 1 group"

Fixes typo in r8781

Fixes #5767

Props SGr33n

git-svn-id: https://buddypress.svn.wordpress.org/trunk@9036 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Forums: correct phpDoc for the property declarations in the main template loop class.

See #5891

git-svn-id: https://buddypress.svn.wordpress.org/trunk@9037 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Blogs: Check if activity component is active before using activity meta functions.

Previously, r8944 used some functions to mirror the blog post title to the
activity meta table.  However, a check was not made to determine if the
activity component was active.  This caused a fatal error for sites that
have the activity component disabled.

Fixes #5897 (trunk).

Anti-props r-a-y.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@9039 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Settings: Fix email change verification.

Fixes #5903 (trunk).

git-svn-id: https://buddypress.svn.wordpress.org/trunk@9041 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Activity: Make sure a non-admin can delete their own activity.

Changes in r8697 broke this functionality due to a strict type check. The
activity user ID is a string, while the logged-in user is an integer.

Commit fixes this by typecasting the activity user ID as an integer and
adds a unit test.

Fixes #5900 (trunk).

git-svn-id: https://buddypress.svn.wordpress.org/trunk@9043 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
On members directory, make sure search terms containing spaces are well transported in pagination links.

When a profile field output containing spaces was clicked, the member search functionality wasn't creating consistent pagination links. This behavior was introduced by r8928. Patch is fixing the issue and also includes a unit test.

props boonebgorges

Fixes #5898

git-svn-id: https://buddypress.svn.wordpress.org/trunk@9045 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Some improvements to inline documentation in bp-groups-template.php

See #5022

git-svn-id: https://buddypress.svn.wordpress.org/trunk@9046 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Use _n() for translations in bp_get_group_member_count()

The previous technique (manually switching between 1 and not-1) does not
provide adequate internationalizability for all languages.

Adds unit tests.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@9047 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Some improved documentation in bp-groups-template.php

See #5022

git-svn-id: https://buddypress.svn.wordpress.org/trunk@9048 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Add 'group-$group_slug' body class when viewing a group page.

Fixes #5848

Props hnla

git-svn-id: https://buddypress.svn.wordpress.org/trunk@9049 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Add 'b', 'i', and 'a:title' to allowedtags in bp-activity

Fixes #5835

Props hnla

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