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/bp-groups-actions.php

    r10981 r11091  
    159159    if ( isset( $_COOKIE['bp_new_group_id'] ) ) {
    160160        $bp->groups->new_group_id = (int) $_COOKIE['bp_new_group_id'];
    161         $bp->groups->current_group = groups_get_group( array( 'group_id' => $bp->groups->new_group_id ) );
     161        $bp->groups->current_group = groups_get_group( $bp->groups->new_group_id );
    162162
    163163        // Only allow the group creator to continue to edit the new group.
Note: See TracChangeset for help on using the changeset viewer.