Grunt: simplify list of CSS files used in the build tasks.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8766 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Grunt: simplify list of JS files used in the build tasks.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8767 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Grunt: simply jsvalidate syntax in build config, and also run on minified JS files.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8768 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Core: fix `bp_core_register_deprecated_styles` and `bp_core_register_common_styles` to load RTL CSS.

See #5614

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8769 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Core: load RTL stylesheets when we need to.

Fixes #5614

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8770 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Activity: slight CSS/JS tweaks to @mentions window.

Ported from Automattic's O2 team's implementation of the At.js library.

See #3278

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8771 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Core: make sure we load minified JS and CSS when `SCRIPT_DEBUG` is set.

Fixes #5615

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8772 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Activity: Combine the @mentions enqueuing function.

Previously, there was a function for loading in both admin and frontend contexts.
I've combined the loading into one function which removes a bunch of duplicated logic, probably left over from an early approach at building the suggestions feature.

See #3278

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8773 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Welcome screen: tidy up for 2.1 by removing 2.0-specific media

See #5805

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8774 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Welcome screen: add nav bar and logo to Credits tab

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8775 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Welcome screen: update credits list for 2.1 so far

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8776 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Welcome screen: add new credits section for external libraries

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8777 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Welcome screen: update credits list again

See #5805

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8778 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Welcome screen: add strings for maintenance/security release notes

These have been copied from WordPress core, which uses them to update
their welcome screen for minor releases without causing string changes
(or tries to).

Since the layout of our welcome screen is not that dissimilar from what
WordPress’, we should see if we are able to make use of these in any
future 2.1.x minor releases.

If we can, this will help our welcome screen be more relevant and
informative.

See #5805

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8779 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Groups: fix singular string translation in wp-admin members list pagination

See #5767

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8780 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Improve pagination label strings for all components

“Viewing 1 site” reads better than “Viewing site 1 to 1 (of 1 site)”,
regardless of the language you’re using.

Fixes #5767

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8781 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Legacy forums: correctly use an integer for `_n` calls when building the pagination labels

Previously, the number used was the (string) return value from
`bp_core_number_format`. That function uses `number_format_i8n`
internally, which can return values such as “1,000” — which would cause
`_n` to pick the wrong singular/plural string at runtime.

See #5767

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8782 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Replace `$bp` globals with `buddypress()` calls in `bp-activity-functions.php`.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8783 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
In `bp_activity_user_can_delete()` check if `user_id` is set before comparing current user ID against it, to prevent a possible debug notice if empty `$activity` parameter is passed.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8784 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Introduce bp_xprofile_get_groups() procedural wrapper for BP_XProfile_Group::get()

This wrapper includes a filter on the return values, so that plugin authors can
manipulate data programatically.

Also includes some documentation improvements, and implements new function
throughout BP.

See #5657

Props tw2113

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