Skip to:
Content

BuddyPress.org

Ticket #2603: pgibbs.patch

File pgibbs.patch, 1.0 KB (added by DJPaul, 14 years ago)
  • bp-xprofile/bp-xprofile-filters.php

     
    88add_filter( 'xprofile_get_field_data', 'wp_filter_kses', 1 );
    99add_filter( 'xprofile_field_name_before_save', 'wp_filter_kses', 1 );
    1010add_filter( 'xprofile_field_description_before_save', 'wp_filter_kses', 1 );
     11add_filter( 'xprofile_data_value_before_save', 'wp_filter_kses', 1 );
    1112
    1213add_filter( 'bp_get_the_profile_field_edit_value', 'wp_filter_kses', 1 );
    1314add_filter( 'bp_get_the_profile_field_description', 'wp_filter_kses', 1 );
    1415
    1516add_filter( 'xprofile_field_name_before_save', 'force_balance_tags' );
    1617add_filter( 'xprofile_field_description_before_save', 'force_balance_tags' );
     18add_filter( 'xprofile_data_value_before_save', 'force_balance_tags' );
    1719
    1820add_filter( 'bp_get_the_profile_field_value', 'wptexturize' );
    1921add_filter( 'bp_get_the_profile_field_value', 'convert_smilies', 2 );