Changeset 12629 for trunk/src/bp-activity/bp-activity-template.php
- Timestamp:
- 04/21/2020 06:12:25 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-activity/bp-activity-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-template.php
r12586 r12629 1579 1579 } 1580 1580 1581 // Viewing a single item, and this user is an admin of that item. 1582 if ( bp_is_single_item() && bp_is_item_admin() ) { 1581 /* 1582 * Viewing a single item, and this user is an admin of that item. 1583 * 1584 * Group activity items are handled separately. 1585 * See bp_groups_filter_activity_user_can_delete(). 1586 */ 1587 if ( 'groups' !== $activity->component && bp_is_single_item() && bp_is_item_admin() ) { 1583 1588 $can_delete = true; 1584 1589 }
Note: See TracChangeset
for help on using the changeset viewer.