Changeset 6314 for trunk/bp-core/bp-core-widgets.php
- Timestamp:
- 09/07/2012 02:14:42 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-widgets.php
r6264 r6314 40 40 . $after_title; ?> 41 41 42 <?php if ( bp_has_members( 'user_id=0&type=' . $instance['member_default'] . '&max=' . $instance['max_members'] . '&populate_extras= 0' ) ) : ?>42 <?php if ( bp_has_members( 'user_id=0&type=' . $instance['member_default'] . '&max=' . $instance['max_members'] . '&populate_extras=1' ) ) : ?> 43 43 <div class="item-options" id="members-list-options"> 44 44 <a href="<?php echo site_url( bp_get_members_root_slug() ); ?>" id="newest-members" <?php if ( $instance['member_default'] == 'newest' ) : ?>class="selected"<?php endif; ?>><?php _e( 'Newest', 'buddypress' ) ?></a> … … 157 157 . $after_title; ?> 158 158 159 <?php if ( bp_has_members( 'user_id=0&type=online&per_page=' . $instance['max_members'] . '&max=' . $instance['max_members'] . '&populate_extras= 0' ) ) : ?>159 <?php if ( bp_has_members( 'user_id=0&type=online&per_page=' . $instance['max_members'] . '&max=' . $instance['max_members'] . '&populate_extras=1' ) ) : ?> 160 160 <div class="avatar-block"> 161 161 <?php while ( bp_members() ) : bp_the_member(); ?> … … 221 221 . $after_title; ?> 222 222 223 <?php if ( bp_has_members( 'user_id=0&type=active&per_page=' . $instance['max_members'] . '&max=' . $instance['max_members'] . '&populate_extras= 0' ) ) : ?>223 <?php if ( bp_has_members( 'user_id=0&type=active&per_page=' . $instance['max_members'] . '&max=' . $instance['max_members'] . '&populate_extras=1' ) ) : ?> 224 224 <div class="avatar-block"> 225 225 <?php while ( bp_members() ) : bp_the_member(); ?> … … 291 291 } 292 292 293 if ( bp_has_members( 'user_id=0&type=' . $type . '&per_page=' . $_POST['max-members'] . '&max=' . $_POST['max-members'] . '&populate_extras= 0' ) ) : ?>293 if ( bp_has_members( 'user_id=0&type=' . $type . '&per_page=' . $_POST['max-members'] . '&max=' . $_POST['max-members'] . '&populate_extras=1' ) ) : ?> 294 294 <?php echo '0[[SPLIT]]'; // return valid result. TODO: remove this. ?> 295 295 <div class="avatar-block">
Note: See TracChangeset
for help on using the changeset viewer.