#4461 closed defect (bug) (fixed)
The action "bp_before_activity_delete" is called after the activity is deleted
Reported by: | gagan0123 | Owned by: | |
---|---|---|---|
Milestone: | 1.6.2 | Priority: | normal |
Severity: | normal | Version: | 1.6 |
Component: | Activity | Keywords: | dev-feedback |
Cc: | gagan@… |
Description
In the file bp-activity-functions.php, on line 1188, the activity is deleted and then the action "bp_before_activity_delete" is performed on line 1197, so the script can never have any access before the deletion of activity(which I do urgently need for my plugin)
Note: See
TracTickets for help on using
tickets.
Confirmed. Looks like it's been that way since the action was first introduced in http://buddypress.trac.wordpress.org/changeset/3772
Does anybody foresee any problems with moving it where it belongs, just after the args are parsed?