From ca1d97448d72b765ce5ea80503555e49882fc934 Mon Sep 17 00:00:00 2001 From: david Date: Wed, 8 Aug 2012 11:49:12 +0000 Subject: [PATCH] =?UTF-8?q?-=20Preparaci=C3=B3n=20para=20actualizar=20a=20?= =?UTF-8?q?Buddypress=201.6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@76 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6 --- .../themes/score/lib/buddypress/functions-buddypress.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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;