From 9c18968e5913c6f09f7773ff32b239b61226bbc2 Mon Sep 17 00:00:00 2001 From: david Date: Mon, 27 Aug 2012 16:42:15 +0000 Subject: [PATCH] =?UTF-8?q?Tarea=20#1038=20->=20Error=20al=20acceder=20a?= =?UTF-8?q?=20la=202=C2=AA=20p=C3=A1gina=20de=20la=20lista=20de=20usuarios?= =?UTF-8?q?=20(se=20queda=20en=20blanco)?= 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@133 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6 --- .../themes/score/lib/buddypress/functions-buddypress.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/wp-content/themes/score/lib/buddypress/functions-buddypress.php b/wp-content/themes/score/lib/buddypress/functions-buddypress.php index 1a80542..8346a6f 100644 --- a/wp-content/themes/score/lib/buddypress/functions-buddypress.php +++ b/wp-content/themes/score/lib/buddypress/functions-buddypress.php @@ -618,4 +618,11 @@ function bp_remove_plugin_nav() { } add_action( 'bp_setup_nav', 'bp_remove_plugin_nav', 15 ); + +function bp_fix_members_pagination_links( $pag_links ) { + global $bp, $members_template; + $pag_links = str_replace('/wp-load.php?upage', '/members/?upage', $pag_links); + return $pag_links; +} +add_filter( 'bp_get_members_pagination_links', 'bp_fix_members_pagination_links' ); ?> \ No newline at end of file