Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/16/2013 07:08:27 PM (11 years ago)
Author:
boonebgorges
Message:

Process all groups being deleted from the admin, not just the default per_page 20

Fixes #5105

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-admin.php

    r7561 r7582  
    569569    }
    570570    $group_ids = wp_parse_id_list( $group_ids );
    571     $groups    = groups_get_groups( array( 'include' => $group_ids, 'show_hidden' => true, ) );
     571    $groups    = groups_get_groups( array(
     572        'include'     => $group_ids,
     573        'show_hidden' => true,
     574        'per_page'    => null, // Return all results
     575    ) );
    572576
    573577    // Create a new list of group ids, based on those that actually exist
Note: See TracChangeset for help on using the changeset viewer.