xProfile admin: correctly stripslash data for children field options.

This was a regression introduced 2.0 with the profile field types rewrite.
Fixes #5704, props imath

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8650 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
xProfile: fix datebox field validation.

If a validation error occurred when saving a profile field(s), the
datebox field type wasn’t restoring the user-submitted value after the
screen was reloaded. This was a regression introduced in BuddyPress 2.0
with the Profile Field Types rewrite.

Fixes #5690 (trunk), props esroyo for initial patch

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

Simplified a sentence, removed a double space.

See #5767, props SGr33n

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8654 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
i18n improvements in Message notifications

Add singular form of “you have x new private messages”, and use
`bp_core_number_format` to format the number correctly for the locale.

See #5767, props SGr33n

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8655 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
xProfile: remove accidental tabs in the `BP_XProfile_Field_Type_Textarea` edit form template.

Fixes #5771 (trunk), props needle

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8656 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Core: match the `registration` route precisely.

Previously, you could enter the registration route with non-existent
parts, such as `/registration/test/`, and BuddyPress would serve up the
registration template.

By checking if `bp_current_action()` is set (the `/test/` part), we can
bail out of `bp_core_screen_signup()`. BuddyPress will correctly 404
these incorrect URLs.

Fixes #5772

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8658 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Merge branch 'master' into mentions-js