Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#13207 closed enhancement (duplicate)

Twenty Ten: searchform.php

Reported by: zeo Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Themes Keywords: 2nd-opinion
Focuses: Cc:


get_search_form() default:

`<form role="search" method="get" id="searchform" action="http://localhost/" >


<label class="screen-reader-text" for="s">Search for:</label>
<input type="text" value="" name="s" id="s" />
<input type="submit" id="searchsubmit" value="Search" />



Twenty Ten searchform.php:

`<form id="searchform" name="searchform" method="get" action="http://localhost/">


<label for="s">Search</label>
<input type="text" id="s" name="s" />
<input type="submit" id="searchsubmit" value="Search" />



Rather than came up with useless patches for this, do we actually need 2010 own search form template? see: searchform.php

The only different that I can see is the text for the label, role and additional class screen-reader-text (which I believe is missing from 2010 searchform.php).


Also please look: http://core.trac.wordpress.org/ticket/12961

Change History (2)

#1 @zeo
11 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate: #13053

#2 @nacin
11 years ago

  • Milestone 3.0 deleted
Note: See TracTickets for help on using tickets.