Changeset 5408
- Timestamp:
- 11/29/2011 07:49:56 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-admin.php
r5396 r5408 810 810 811 811 // Get the root activity ID; this may be not be the same as $item['id'] for nested items (e.g. activity_comments) 812 $is_root_activity = empty( $item['item_id'] ); 812 if ( empty( $item['item_id'] ) || ! in_array( $item['type'], apply_filters( 'bp_activity_admin_root_activity_types', array( 'activity_comment' ), $item ) ) ) 813 $is_root_activity = true; 814 else 815 $is_root_activity = false; 816 813 817 $root_activity_id = $is_root_activity ? $item['id'] : $item['item_id']; 814 818 $root_activity_url = network_admin_url( 'admin.php?page=bp-activity&aid=' . $root_activity_id );
Note: See TracChangeset
for help on using the changeset viewer.