Skip to:
Content

BuddyPress.org

Ticket #4901: 4901.diff

File 4901.diff, 1.1 KB (added by imath, 12 years ago)
  • bp-groups/bp-groups-admin.php

     
    11301130         * @since BuddyPress (1.7)
    11311131         */
    11321132        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'] ); ?>
    11341134                <ul class="subsubsub">
    11351135                        <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>
    11361136                        <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>