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-filters.php

    r10750 r11091  
    316316
    317317    if ( 'groups' === $activity->component ) {
    318         $group = groups_get_group( array( 'group_id' => $activity->item_id ) );
     318        $group = groups_get_group( $activity->item_id );
    319319        if ( 'public' !== $group->status && ! groups_is_user_member( $user_id, $group->id ) ) {
    320320            $send = false;
Note: See TracChangeset for help on using the changeset viewer.