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

WordPress Trac noreply at wordpress.org
Thu Nov 26 12:11:15 UTC 2020


#51877: Twenty Twenty: Wrong parameter name used in searchform.php
---------------------------+-----------------------------
 Reporter:  poena          |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Bundled Theme  |    Version:
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 In searchform.php, the parameter/argument that is used is named
 {{{$args['label']}}}, the correct name for use with get_search_form() is
 {{{$args['aria_label']}}}.

 See
 https://developer.wordpress.org/reference/functions/get_search_form/#parameters

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


More information about the wp-trac mailing list