diff --git a/wp-content/themes/score/lib/buddypress/functions-buddypress.php b/wp-content/themes/score/lib/buddypress/functions-buddypress.php index 0a167e2..bd564cc 100644 --- a/wp-content/themes/score/lib/buddypress/functions-buddypress.php +++ b/wp-content/themes/score/lib/buddypress/functions-buddypress.php @@ -453,12 +453,13 @@ function gp_bp_get_the_profile_field_value($value, $type = '', $id = '') { function remove_xprofile_links() { remove_filter('bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 9, 2); } - add_action('bp_init', 'remove_xprofile_links'); - - - +function remove_esc_html() { + remove_filter('bp_get_the_profile_field_value', 'esc_html', 8); + remove_filter('bp_get_the_profile_field_value', 'stripslashes'); +} +add_action('bp_init', 'remove_esc_html'); function check_country_field() { global $wpdb;