- Preparación para actualizar a Buddypress 1.6

git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@76 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6
This commit is contained in:
David Arranz 2012-08-08 11:49:12 +00:00
parent 50be2467fd
commit ca1d97448d

View File

@ -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;