Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/13/2016 05:35:55 AM (10 years ago)
Author:
boonebgorges
Message:

Use new groups_get_group() syntax throughout BP.

See #5451.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/classes/class-bp-groups-member-suggestions.php

    r10417 r11091  
    6666
    6767                // Check that the specified group_id exists, and that the current user can access it.
    68                 $the_group = groups_get_group( array(
    69                         'group_id'        => absint( $this->args['group_id'] ),
    70                         'populate_extras' => true,
    71                 ) );
     68                $the_group = groups_get_group( absint( $this->args['group_id'] ) );
    7269
    7370                if ( $the_group->id === 0 || ! $the_group->user_has_access ) {
Note: See TracChangeset for help on using the changeset viewer.