WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/10/2012 01:23:48 AM (8 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/media.php

    r20114 r20168  
    18141814<p id="media-search" class="search-box">
    18151815    <label class="screen-reader-text" for="media-search-input"><?php _e('Search Media');?>:</label>
    1816     <input type="text" id="media-search-input" name="s" value="<?php the_search_query(); ?>" />
     1816    <input type="search" id="media-search-input" name="s" value="<?php the_search_query(); ?>" />
    18171817    <?php submit_button( __( 'Search Media' ), 'button', '', false ); ?>
    18181818</p>
Note: See TracChangeset for help on using the changeset viewer.