Changeset 10853 for trunk/src/bp-activity/bp-activity-template.php
- Timestamp:
- 06/01/2016 04:59:31 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-template.php
r10825 r10853 1564 1564 // quite powerful, because doing so also deletes all comments to that 1565 1565 // activity item. We should revisit this eventually. 1566 if ( isset( $activity->user_id ) && ( (int)$activity->user_id === bp_loggedin_user_id() ) ) {1566 if ( isset( $activity->user_id ) && ( $activity->user_id === bp_loggedin_user_id() ) ) { 1567 1567 $can_delete = true; 1568 1568 } … … 1617 1617 1618 1618 // Get the ID of the parent activity content. 1619 $parent_id = (int)$activities_template->activity->item_id;1619 $parent_id = $activities_template->activity->item_id; 1620 1620 1621 1621 // Bail if no parent content. … … 1681 1681 1682 1682 // Get the ID of the parent activity content. 1683 $parent_id = (int)$activities_template->activity->item_id;1683 $parent_id = $activities_template->activity->item_id; 1684 1684 1685 1685 // Bail if no parent item.
Note: See TracChangeset
for help on using the changeset viewer.