#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 |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.2.1 |
| Component: | General | Version: | 5.2 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Changing the comparand from === to ==