[wp-trac] [WordPress Trac] #47177: get_search_form function enhanced in 5.2 is not fully backward compatible
WordPress Trac
noreply at wordpress.org
Wed May 8 07:07:59 UTC 2019
#47177: get_search_form function enhanced in 5.2 is not fully backward compatible
----------------------------+-----------------------------
Reporter: sachyya sachet | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.2
Severity: normal | Keywords:
Focuses: |
----------------------------+-----------------------------
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 {{{===}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47177>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list