#8234 closed defect (bug) (fixed)
Activity: Fatal error on admin dashboard when using `'bp_get_activity_action'` filter
Reported by: | r-a-y | Owned by: | slaFFik |
---|---|---|---|
Milestone: | 6.0.0 | Priority: | normal |
Severity: | normal | Version: | 1.6 |
Component: | Administration | Keywords: | has-patch commit |
Cc: |
Description
If a plugin is filtering 'bp_get_activity_action'
and uses more than the first argument, a fatal error occurs in the Activity dashboard.
This is because the duplicate filter in the activity dashboard's list table only uses one argument instead of three as in the real filter arguments.
Attached patch fixes this. Let me know if we need to pass the $activity
object by reference. I don't think we need to, but I'm just following the convention used by the previous 'bp_get_activity_content_body'
filter.
Attachments (1)
Change History (8)
Note: See
TracTickets for help on using
tickets.
Hi @r-a-y
Thanks a lot for your catch and patch. It looks good to me the way it is. I’m just wondering if we should fix this earlier in 5.2.0 as it’s potentially causing a fatal error.