Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/28/2011 07:19:16 PM (13 years ago)
Author:
djpaul
Message:

Remove slashes from xprofile group name and descriptions. Fixes #3146, props calvin_42

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-filters.php

    r4362 r4434  
    33/* Apply WordPress defined filters */
    44
     5add_filter( 'bp_get_the_profile_group_name',          'wp_filter_kses',       1 );
     6add_filter( 'bp_get_the_profile_group_description',   'wp_filter_kses',       1 );
    57add_filter( 'bp_get_the_profile_field_value',         'xprofile_filter_kses', 1 );
    68add_filter( 'bp_get_the_profile_field_name',          'wp_filter_kses',       1 );
     
    1820add_filter( 'bp_get_the_profile_field_edit_value',    'esc_html'           );
    1921
     22add_filter( 'bp_get_the_profile_group_name',          'stripslashes' );
     23add_filter( 'bp_get_the_profile_group_description',   'stripslashes' );
    2024add_filter( 'bp_get_the_profile_field_value',         'stripslashes' );
    2125add_filter( 'bp_get_the_profile_field_edit_value',    'stripslashes' );
Note: See TracChangeset for help on using the changeset viewer.