Make WordPress Core


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

    r20038 r20168  
    464464        <form name="searchform" action="<?php echo network_admin_url('users.php'); ?>" method="get">
    465465                <p>
    466                         <input type="text" name="s" value="" size="17" />
     466                        <input type="search" name="s" value="" size="17" />
    467467                        <?php submit_button( __( 'Search Users' ), 'button', 'submit', false, array( 'id' => 'submit_users' ) ); ?>
    468468                </p>
    … …  
    471471        <form name="searchform" action="<?php echo network_admin_url('sites.php'); ?>" method="get">
    472472                <p>
    473                         <input type="text" name="s" value="" size="17" />
     473                        <input type="search" name="s" value="" size="17" />
    474474                        <?php submit_button( __( 'Search Sites' ), 'button', 'submit', false, array( 'id' => 'submit_sites' ) ); ?>
    475475                </p>
Note: See TracChangeset for help on using the changeset viewer.