Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/13/2016 05:35:55 AM (9 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-activity/bp-activity-actions.php

    r10825 r11091  
    7272
    7373            // Set redirect to group activity stream.
    74             if ( $group = groups_get_group( array( 'group_id' => $activity->item_id ) ) ) {
     74            if ( $group = groups_get_group( $activity->item_id ) ) {
    7575                $redirect = bp_get_group_permalink( $group ) . bp_get_activity_slug() . '/' . $activity->id . '/';
    7676            }
Note: See TracChangeset for help on using the changeset viewer.