Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#13207 closed enhancement (duplicate)

Twenty Ten: searchform.php

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

Description

get_search_form() default:

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

<div>

<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" />

</div>

</form>`

Twenty Ten searchform.php:

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

<div>

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

</div>

</form>`

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).

Thoughts?

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

Change History (2)

comment:1   zeo3 years ago

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

Duplicate: #13053

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