Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/13/2016 05:35:55 AM (3 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-group-members-template.php

    r11083 r11091  
    137137        $current_group = groups_get_current_group();
    138138        if ( empty( $current_group ) || ( $current_group && $current_group->id !== bp_get_current_group_id() ) ) {
    139             $current_group = groups_get_group( array( 'group_id' => $r['group_id'] ) );
     139            $current_group = groups_get_group( $r['group_id'] );
    140140        }
    141141
Note: See TracChangeset for help on using the changeset viewer.