Skip to:
Content

BuddyPress.org

Changeset 5458


Ignore:
Timestamp:
12/08/2011 02:22:50 AM (13 years ago)
Author:
boonebgorges
Message:

Don't use get_specific_users when an include parameter is passed to BP_Core_Members_Template. Fixes #3812

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-members/bp-members-template.php

    r5417 r5458  
    182182        if ( isset( $_REQUEST['letter'] ) && '' != $_REQUEST['letter'] )
    183183            $this->members = BP_Core_User::get_users_by_letter( $_REQUEST['letter'], $this->pag_num, $this->pag_page, $populate_extras, $exclude );
    184         else if ( false !== $include )
    185             $this->members = BP_Core_User::get_specific_users( $include, $this->pag_num, $this->pag_page, $populate_extras );
    186184        else
    187185            $this->members = bp_core_get_users( array( 'type' => $this->type, 'per_page' => $this->pag_num, 'page' => $this->pag_page, 'user_id' => $user_id, 'include' => $include, 'search_terms' => $search_terms, 'populate_extras' => $populate_extras, 'exclude' => $exclude, 'meta_key' => $meta_key, 'meta_value' => $meta_value ) );
Note: See TracChangeset for help on using the changeset viewer.