Changeset 4434
- Timestamp:
- 05/28/2011 07:19:16 PM (14 years ago)
- Location:
- trunk/bp-xprofile
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-classes.php
r4400 r4434 29 29 return false; 30 30 31 $this->id 32 $this->name = $group->name;33 $this->description = $group->description;34 $this->can_delete 35 $this->group_order 31 $this->id = $group->id; 32 $this->name = stripslashes( $group->name ); 33 $this->description = stripslashes( $group->description ); 34 $this->can_delete = $group->can_delete; 35 $this->group_order = $group->group_order; 36 36 } 37 37 -
trunk/bp-xprofile/bp-xprofile-filters.php
r4362 r4434 3 3 /* Apply WordPress defined filters */ 4 4 5 add_filter( 'bp_get_the_profile_group_name', 'wp_filter_kses', 1 ); 6 add_filter( 'bp_get_the_profile_group_description', 'wp_filter_kses', 1 ); 5 7 add_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_kses', 1 ); 6 8 add_filter( 'bp_get_the_profile_field_name', 'wp_filter_kses', 1 ); … … 18 20 add_filter( 'bp_get_the_profile_field_edit_value', 'esc_html' ); 19 21 22 add_filter( 'bp_get_the_profile_group_name', 'stripslashes' ); 23 add_filter( 'bp_get_the_profile_group_description', 'stripslashes' ); 20 24 add_filter( 'bp_get_the_profile_field_value', 'stripslashes' ); 21 25 add_filter( 'bp_get_the_profile_field_edit_value', 'stripslashes' );
Note: See TracChangeset
for help on using the changeset viewer.