Opened 10 years ago
Closed 10 years ago
#2964 closed defect (bug) (invalid)
Deleting a Topic does not delete the corresponding BuddyPress activity
| Reported by: | konnektiv | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | |
| Severity: | normal | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch to correctly return activity_id