Skip to:
Content

BuddyPress.org

Changeset 7928


Ignore:
Timestamp:
02/18/2014 08:58:08 PM (11 years ago)
Author:
boonebgorges
Message:

Pass 'per_page' argument to bp_has_members() in BP_Core_Members_Widget

This argument is needed for cases where 'max' is less than the 'per_page'
default value of 20.

Fixes #5410

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-widgets.php

    r7927 r7928  
    189189            'user_id'         => 0,
    190190            'type'            => $instance['member_default'],
     191            'per_page'        => $instance['max_members'],
    191192            'max'             => $instance['max_members'],
    192193            'populate_extras' => true,
Note: See TracChangeset for help on using the changeset viewer.