Ticket #2603: pgibbs.patch
File pgibbs.patch, 1.0 KB (added by , 14 years ago) |
---|
-
bp-xprofile/bp-xprofile-filters.php
8 8 add_filter( 'xprofile_get_field_data', 'wp_filter_kses', 1 ); 9 9 add_filter( 'xprofile_field_name_before_save', 'wp_filter_kses', 1 ); 10 10 add_filter( 'xprofile_field_description_before_save', 'wp_filter_kses', 1 ); 11 add_filter( 'xprofile_data_value_before_save', 'wp_filter_kses', 1 ); 11 12 12 13 add_filter( 'bp_get_the_profile_field_edit_value', 'wp_filter_kses', 1 ); 13 14 add_filter( 'bp_get_the_profile_field_description', 'wp_filter_kses', 1 ); 14 15 15 16 add_filter( 'xprofile_field_name_before_save', 'force_balance_tags' ); 16 17 add_filter( 'xprofile_field_description_before_save', 'force_balance_tags' ); 18 add_filter( 'xprofile_data_value_before_save', 'force_balance_tags' ); 17 19 18 20 add_filter( 'bp_get_the_profile_field_value', 'wptexturize' ); 19 21 add_filter( 'bp_get_the_profile_field_value', 'convert_smilies', 2 );