WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 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:

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 zeo4 years ago

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

Duplicate: #13053

comment:2 nacin4 years ago

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