More visual updates to XProfile admin UI, to bring it more inline with other WordPress core sortable/droppable elements.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8639 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Clean up some XProfile admin area JS.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8640 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Fix incorrect filter name in bp_get_member_registered().

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8641 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
UI improvements to admin area XProfile field options, bringing them inline with WordPress core UI sortable elements.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8642 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
More UI improvements to admin area XProfile field options.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8643 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Adjust filter priority to allow it to scoot in after `esc_html()`. We'll likely be doing a bit more tweaking here. See #5630.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8644 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Clean up brackets, whitespace, and code formatting in `bp-xprofile-filters.php`. Also remove a rogue unused filter that should have been removed in r3248.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8645 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Improve cross-browser support for XProfile administration by making paddings and margins more consistent across nested elements.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8646 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Core: do `bp_core_register_common_scripts()` inside the WordPress dashboard.

This lets us easily re-use any common scripts in WordPress dashboard screens.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8647 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
xProfile: remove unused param from wp-admin JS `enableSortableFieldOptions()` function.

Recent changes in r8642 made this variable unused, and it's causing jshint errors.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8648 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Grunt: update xProfile wp-admin RTL CSS by running `grunt build-commit`.

The CSS was recently changed in r8646.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8649 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
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
Add parent and child menu classes to navigation menu. This allows for more flexible styling of hierarchical menus via the ability to target parent VS child items.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8659 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Members: set the displayed user's `fullname` to their display name

This was broken in r8610 because it was trying to access a property in the WP_User object that doesn't exist.

Fixes #5764, props imath

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8660 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Remove incorrect `prepare()` usage in `get_current_threads_for_user()`. See #5388.

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