Changeset 8147 for trunk/bp-groups/bp-groups-admin.php
- Timestamp:
- 03/20/2014 09:00:43 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-admin.php
r8051 r8147 998 998 999 999 $terms = isset( $_GET['term'] ) ? $_GET['term'] : ''; 1000 $users = get_users( array(1001 ' blog_id' => false,1002 'search ' => '*' . $terms . '*',1003 'exclude' => $group_members,1004 ' search_columns' => array( 'user_login', 'user_nicename', 'user_email', 'display_name' ),1005 ' number' => 101000 $users = bp_core_get_users( array( 1001 'type' => 'alphabetical', 1002 'search_terms' => $terms, 1003 'exclude' => $group_members, 1004 'per_page' => 10, 1005 'populate_extras' => false 1006 1006 ) ); 1007 1007 1008 foreach ( (array) $users as $user ) {1008 foreach ( (array) $users['users'] as $user ) { 1009 1009 $return[] = array( 1010 1010 /* translators: 1: user_login, 2: user_email */
Note: See TracChangeset
for help on using the changeset viewer.