[wp-trac] [WordPress Trac] #42057: Add ability to pass a label for the <form> element returned by get_search_form()

WordPress Trac noreply at wordpress.org
Fri May 17 02:24:02 UTC 2019


#42057: Add ability to pass a label for the <form> element returned by
get_search_form()
-------------------------------------------+-----------------------------
 Reporter:  williampatton                  |       Owner:  SergeyBiryukov
     Type:  enhancement                    |      Status:  closed
 Priority:  normal                         |   Milestone:  5.2
Component:  General                        |     Version:  4.8.2
 Severity:  normal                         |  Resolution:  fixed
 Keywords:  dev-feedback has-patch commit  |     Focuses:  accessibility
-------------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 In [changeset:"45341" 45341]:
 {{{
 #!CommitTicketReference repository="" revision="45341"
 Accessibility: In back-compat code added for `get_search_form()` in
 [44956], when checking the (previously boolean) `$args` value, account for
 non-strict comparison.

 Props dkarfa, sachyya-sachet.
 Merges [45340] to the 5.2 branch.
 Fixes #47177. See #42057.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/42057#comment:36>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list