Opened 9 years ago
Closed 9 years ago
#2964 closed defect (bug) (invalid)
Deleting a Topic does not delete the corresponding BuddyPress activity
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | General | Keywords: | |
| Cc: |
Description
If a topic or reply is deleted, the corresponding BuddyPress activity entry is not deleted. This happens due to the function get_activity_id not properly returning the activity_id. The underlying issue is that the function bp_activity_get_specific does not set the 'total' field in the returned array. The attached patch fixes the issue by directly counting the returned activities.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
Patch to correctly return activity_id