Changeset 4330
- Timestamp:
- 05/05/2011 08:50:48 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-classes.php
r4211 r4330 110 110 /** Static Functions ******************************************************/ 111 111 112 function get_users( $type, $limit = null, $page = 1, $user_id = 0, $include = false, $search_terms = false, $populate_extras = true, $exclude = false ) {112 function get_users( $type, $limit = 0, $page = 1, $user_id = 0, $include = false, $search_terms = false, $populate_extras = true, $exclude = false ) { 113 113 global $wpdb, $bp; 114 114 -
trunk/bp-members/bp-members-template.php
r4211 r4330 146 146 function __construct( $type, $page_number, $per_page, $max, $user_id, $search_terms, $include, $populate_extras, $exclude ) { 147 147 global $bp; 148 148 149 149 $this->pag_page = !empty( $_REQUEST['upage'] ) ? intval( $_REQUEST['upage'] ) : (int)$page_number; 150 150 $this->pag_num = !empty( $_REQUEST['num'] ) ? intval( $_REQUEST['num'] ) : (int)$per_page; 151 151 $this->type = $type; 152 153 if ( !$this->pag_num )154 $this->pag_num = 1;155 152 156 153 if ( isset( $_REQUEST['letter'] ) && '' != $_REQUEST['letter'] )
Note: See TracChangeset
for help on using the changeset viewer.