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-activity/bp-activity-template.php

    r11066 r11091  
    11781178                                // Only if groups is active.
    11791179                                if ( bp_is_active( 'groups' ) ) {
    1180                                         $group = groups_get_group( array(
    1181                                                 'group_id'          => $item_id,
    1182                                                 'populate_extras'   => false,
    1183                                                 'update_meta_cache' => false,
    1184                                         ) );
     1180                                        $group = groups_get_group( $item_id );
    11851181                                        $link  = bp_get_group_permalink( $group );
    11861182                                        $name  = $group->name;
Note: See TracChangeset for help on using the changeset viewer.