Opened 8 years ago
Closed 8 years ago
#2992 closed defect (bug) (duplicate)
BP activity items not being deleted/edited
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.5.4 |
Component: | Extend - BuddyPress | Keywords: | |
Cc: |
Description
When a topic or reply is edited or deleted, bbPress attempts to update or delete the corresponding BP activity item as appropriate.
However, the attempt is failing because of an error in BBP_BuddyPress_Activity::get_activity_id()
. This method verifies the existence of the activity ID corresponding to the post by calling bp_activity_get_specific()
- which is good! - but then it checks $existing['total']
to see if it was successful - which is bad! Since BP 2.1, activity queries do not do query for a 'total' count by default; see https://buddypress.trac.wordpress.org/ticket/5629 for background.
Attachments (1)
Change History (6)
#2
@
8 years ago
#3
@
8 years ago
Whoops, my Google-fu failed me when searching for existing tickets. Thanks, @r-a-y !
Since the 'total' value doesn't seem to be important, I suggest you don't bother with it. See 2992.diff