achille-press/searchform.php
Gennady Kovshenin ddebe0f15f Extra single-quote in "Search"
A trailing singe-quote has found its way into the search button value,
resulting in the button displaying "Search'" instead of "Search".
2013-07-01 17:38:44 +06:00

14 lines
667 B
PHP

<?php
/**
* The template for displaying search forms in _s
*
* @package _s
*/
?>
<form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>">
<label>
<span class="screen-reader-text"><?php _ex( 'Search for:', 'label', '_s' ); ?></span>
<input type="search" class="search-field" placeholder="<?php echo esc_attr_x( 'Search &hellip;', 'placeholder', '_s' ); ?>" value="<?php echo esc_attr( get_search_query() ); ?>" name="s" title="<?php _ex( 'Search for:', 'label', '_s' ); ?>" />
</label>
<input type="submit" class="search-submit" value="<?php echo esc_attr_x( 'Search', 'submit button', '_s' ); ?>" />
</form>