Ticket #4901: 4901.diff
File 4901.diff, 1.1 KB (added by , 12 years ago) |
---|
-
bp-groups/bp-groups-admin.php
1130 1130 * @since BuddyPress (1.7) 1131 1131 */ 1132 1132 function get_views() { 1133 $url_base = remove_query_arg( array( 'orderby', 'order', 'group_status' ), $_SERVER['REQUEST_URI'] ); ?>1133 $url_base = remove_query_arg( array( 'orderby', 'order', 'group_status', 'paged', 's', '_wpnonce', '_wp_http_referer', 'action', 'action2' ), $_SERVER['REQUEST_URI'] ); ?> 1134 1134 <ul class="subsubsub"> 1135 1135 <li class="all"><a href="<?php echo esc_attr( esc_url( $url_base ) ); ?>" class="<?php if ( 'all' == $this->view ) echo 'current'; ?>"><?php _e( 'All', 'buddypress' ); ?></a> |</li> 1136 1136 <li class="public"><a href="<?php echo esc_attr( esc_url( add_query_arg( 'group_status', 'public', $url_base ) ) ); ?>" class="<?php if ( 'public' == $this->view ) echo 'current'; ?>"><?php printf( __( 'Public <span class="count">(%s)</span>', 'buddypress' ), number_format_i18n( $this->group_counts['public'] ) ); ?></a> |</li>