WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/10/2012 01:23:48 AM (7 years ago)
Author:
azaozz
Message:

Set proper HTML5 input types in the admin, props georgestephanis, fixes #17863

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/plugin-install.php

    r19710 r20168  
    128128            <option value="tag"<?php selected('tag', $type) ?>><?php _ex('Tag', 'Plugin Installer'); ?></option>
    129129        </select>
    130         <input type="text" name="s" value="<?php echo esc_attr($term) ?>" />
     130        <input type="search" name="s" value="<?php echo esc_attr($term) ?>" />
    131131        <label class="screen-reader-text" for="plugin-search-input"><?php _e('Search Plugins'); ?></label>
    132132        <?php submit_button( __( 'Search Plugins' ), 'button', 'plugin-search-input', false ); ?>
Note: See TracChangeset for help on using the changeset viewer.