Skip to:
Content

BuddyPress.org

Ticket #7614: 7614.count.patch

File 7614.count.patch, 437 bytes (added by dcavins, 23 months ago)

Change BP_Groups_Group::get_total_member_count() behavior.

  • src/bp-groups/classes/class-bp-groups-group.php

    diff --git src/bp-groups/classes/class-bp-groups-group.php src/bp-groups/classes/class-bp-groups-group.php
    index e837d72ed..d14e88661 100644
    class BP_Groups_Group { 
    17971797                                array(
    17981798                                        'group_id'   => $group_id,
    17991799                                        'group_role' => array( 'member', 'admin', 'mod' ),
    1800                                         'count'      => true,
    18011800                                )
    18021801                        );
    18031802