Changeset 11091 for trunk/src/bp-groups/bp-groups-activity.php
- Timestamp:
- 09/13/2016 05:35:55 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-activity.php
r10858 r11091 99 99 $user_link = bp_core_get_userlink( $activity->user_id ); 100 100 101 $group = groups_get_group( array( 102 'group_id' => $activity->item_id, 103 'populate_extras' => false, 104 ) ); 101 $group = groups_get_group( $activity->item_id ); 105 102 $group_link = '<a href="' . esc_url( bp_get_group_permalink( $group ) ) . '">' . esc_html( $group->name ) . '</a>'; 106 103 … … 130 127 $user_link = bp_core_get_userlink( $activity->user_id ); 131 128 132 $group = groups_get_group( array( 133 'group_id' => $activity->item_id, 134 'populate_extras' => false, 135 ) ); 129 $group = groups_get_group( $activity->item_id ); 136 130 $group_link = '<a href="' . esc_url( bp_get_group_permalink( $group ) ) . '">' . esc_html( $group->name ) . '</a>'; 137 131 … … 172 166 $user_link = bp_core_get_userlink( $activity->user_id ); 173 167 174 $group = groups_get_group( array( 175 'group_id' => $activity->item_id, 176 'populate_extras' => false, 177 ) ); 168 $group = groups_get_group( $activity->item_id ); 178 169 $group_link = '<a href="' . esc_url( bp_get_group_permalink( $group ) ) . '">' . esc_html( $group->name ) . '</a>'; 179 170 … … 361 352 $group = groups_get_current_group(); 362 353 } else { 363 $group = groups_get_group( array( 'group_id' => $args['item_id'] ));354 $group = groups_get_group( $args['item_id'] ); 364 355 } 365 356 … … 431 422 432 423 // Get the group so we can get it's name. 433 $group = groups_get_group( array( 'group_id' => $group_id ));424 $group = groups_get_group( $group_id ); 434 425 435 426 /**
Note: See TracChangeset
for help on using the changeset viewer.