Opened 12 years ago
Closed 12 years ago
#4561 closed defect (bug) (fixed)
Fix this hook please. -- action: groups_before_delete_group
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 1.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Groups | Keywords: | needs-patch needs-testing |
Cc: | info@… |
Description
bp-groups/bp-groups-functions.php
Line: 212
The group is deleted before this hook is called.
If I hook into groups_before_delete_group
, I cannot fetch the group info based upon the $group_id
because the group has already been deleted.
Isn't the point of this hook to be called BEFORE a group is deleted?
Change History (2)
Note: See
TracTickets for help on using
tickets.
Correct. This is an error that appears to have been in place for years.