Set proper HTML5 input types in the admin, props georgestephanis, fixes #17863
git-svn-id: http://svn.automattic.com/wordpress/trunk@20168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -62,7 +62,7 @@ function install_theme_search_form() {
|
||||
<option value="author" <?php selected('author', $type) ?>><?php _e('Author'); ?></option>
|
||||
<option value="tag" <?php selected('tag', $type) ?>><?php _ex('Tag', 'Theme Installer'); ?></option>
|
||||
</select>
|
||||
<input type="text" name="s" size="30" value="<?php echo esc_attr($term) ?>" />
|
||||
<input type="search" name="s" size="30" value="<?php echo esc_attr($term) ?>" />
|
||||
<?php submit_button( __( 'Search' ), 'button', 'search', false ); ?>
|
||||
</form>
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user