WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/28/2010 09:56:43 PM (9 years ago)
Author:
markjaquith
Message:

Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/users.php

    r16009 r16061  
    358358    <label class="screen-reader-text" for="user-search-input"><?php _e( 'Search Users' ); ?>:</label>
    359359    <input type="text" id="user-search-input" name="usersearch" value="<?php echo esc_attr($usersearch); ?>" />
    360     <input type="submit" value="<?php esc_attr_e( 'Search Users' ); ?>" class="button" />
     360    <?php submit_button( __( 'Search Users' ), 'submit', 'submit', false ); ?>
    361361</p>
    362362</form>
Note: See TracChangeset for help on using the changeset viewer.