Ticket #3312: bp-groups-loader.php.patch
File bp-groups-loader.php.patch, 735 bytes (added by , 12 years ago) |
---|
-
trunk/bp-groups/bp-groups-loader.php
93 93 if ( bp_is_groups_component() && $group_id = BP_Groups_Group::group_exists( bp_current_action() ) ) { 94 94 95 95 $bp->is_single_item = true; 96 $this->current_group = new BP_Groups_Group($group_id );96 $this->current_group = apply_filters( 'groups_get_group_object', new BP_Groups_Group( $group_id ), $group_id ); 97 97 98 98 // When in a single group, the first action is bumped down one because of the 99 99 // group name, so we need to adjust this and set the group name to current_item.