#47177 closed defect (bug) (fixed)
get_search_form function enhanced in 5.2 is not fully backward compatible
Reported by: | sachyya sachet | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 5.2.1 | Priority: | normal |
Severity: | normal | Version: | 5.2 |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
In the enhanced function, while comparing the $args
with false
, data types are compared too which causes the issue while passing 1
or 0
. It should be compared using ==
rather than ===
Attachments (5)
Change History (10)
Note: See
TracTickets for help on using
tickets.
Changing the comparand from === to ==