#3626 closed defect (bug) (fixed)
bbp_pre_handle_404() return type may be incorrect
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.6.14 | Priority: | normal |
| Severity: | normal | Version: | 2.0 |
| Component: | General | Keywords: | has-patch commit |
| Cc: |
Description
When bbp_pre_handle_404() is triggered, it may override its return value to be null, though the Core filter expects a boolean. If a codebase enforces strict typing, the function causes a TypeError.
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Attached patch corrects the return type without changing the overall behaviour of the function.