Opened 6 weeks ago
Last modified 6 weeks ago
#3626 new defect (bug)
bbp_pre_handle_404() return type may be incorrect
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | has-patch |
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)
Note: See
TracTickets for help on using
tickets.
Attached patch corrects the return type without changing the overall behaviour of the function.