[wp-trac] [WordPress Trac] #51877: Twenty Twenty: Wrong parameter name used in searchform.php

WordPress Trac noreply at wordpress.org
Wed May 19 18:39:09 UTC 2021


#51877: Twenty Twenty: Wrong parameter name used in searchform.php
------------------------------+--------------------------
 Reporter:  poena             |       Owner:  sabernhardt
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  5.8
Component:  Bundled Theme     |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+--------------------------
Changes (by davidbaumwald):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"50933" 50933]:
 {{{
 #!CommitTicketReference repository="" revision="50933"
 Twenty Twenty: Correct `label` attribute references to `aria_label` in
 `get_search_form`.

 In the bundled Twenty Twenty theme, a `label` argument was passed to
 `get_search_form` but used as the `aria_label` on the form.  This change
 updates the argument name to `aria_label` and maintains backwards
 compatibility for usage of the original `label` argument.

 Props poena, sabernhardt, ipulc2, kishanjasani, mukesh27.
 Fixes #51877.
 }}}

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


More information about the wp-trac mailing list