Make WordPress Core


Ignore:
Timestamp:
06/26/2012 08:55:46 PM (14 years ago)
Author:
markjaquith
Message:

Autofocus the search box on the Theme and Plugin installation pages. Faster flow for people who know what they are looking for. props SergeyBiryukov. fixes #21080. see #21027.

File:
1 edited

Legend:

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

    r20812 r21143  
    6565        </select>
    6666        <?php endif; ?>
    67         <input type="search" name="s" size="30" value="<?php echo esc_attr($term) ?>" />
     67        <input type="search" name="s" size="30" value="<?php echo esc_attr($term) ?>" autofocus="autofocus" />
    6868        <?php submit_button( __( 'Search' ), 'button', 'search', false ); ?>
    6969</form>
Note: See TracChangeset for help on using the changeset viewer.