buddypress/tests/phpunit/testcases
Boone B Gorges ec9b5489ec Enable richtext editing for xProfile textarea fields.
Profile fields of the 'textarea' type are now edited using `wp_editor()`.
Output escaping has been modified to whitelist all tags permitted by the
"teeny" version of the `wp_editor()` interface.

Richtext is enabled for all and only 'textarea' fields:
* To enable richtext editing for a custom field type, set the `supports_richtext` property of your `BP_XProfile_Field_Type` class to `true`. In these cases, you'll need to  provide your own editing markup as well; see the `edit_field_html()` and `admin_field_html()` methods of `BP_XProfile_Field_Type_Textarea` for inspiration.
* To disable richtext editing for specific 'textarea' fields, filter `bp_xprofile_is_richtext_enabled_for_field`.

Props needle, boonebgorges.
Fixes #5625.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@10254 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2015-10-12 17:50:45 +00:00
..
activity Introduce fields parameter to bp_has_activities() stack. 2015-10-08 16:59:40 +00:00
admin bp_core_get_directory_page_ids() should skip bp_is_active() check in save context. 2015-03-10 15:23:36 +00:00
blogs Blogs: don't duplicate activity comments during post/activity sync 2015-10-11 22:14:29 +00:00
core Tests: try to re-implement media extractor test for WP 4.4 compat 2015-10-08 22:27:17 +00:00
friends Fix SQL syntax error in BP_Friends_Friendship::search_friends(). 2015-07-02 12:54:28 +00:00
groups Groups: new function to get groups from which a user is banned. 2015-10-10 13:07:23 +00:00
members Allow xProfile fields to be restricted to users belonging to one or more member types. 2015-07-21 14:00:38 +00:00
messages BP_Messages_Thread objects should always have last_message_* properties set. 2015-08-07 14:07:41 +00:00
notifications Notifications: Tests for all_for_user cache deletion. 2015-05-21 20:05:12 +00:00
routing URI: Allow root profiles to work when the 'Members' page is nested. 2015-10-08 04:52:31 +00:00
xprofile Enable richtext editing for xProfile textarea fields. 2015-10-12 17:50:45 +00:00