Changeset 13446 for trunk/src/bp-activity/screens/permalink.php
- Timestamp:
- 04/04/2023 01:06:03 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/screens/permalink.php
r13441 r13446 56 56 // Set redirect to group activity stream. 57 57 if ( $group = groups_get_group( $activity->item_id ) ) { 58 $redirect = bp_get_group_permalink( $group ) . bp_get_activity_slug() . '/' . $activity->id . '/'; 58 $path_chunks = bp_groups_get_path_chunks( array( bp_get_activity_slug(), $activity->id ) ); 59 $redirect = bp_get_group_url( $group, $path_chunks ); 59 60 } 60 61 }
Note: See TracChangeset
for help on using the changeset viewer.