Make WordPress Core


Ignore:
Timestamp:
10/28/2010 09:56:43 PM (14 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/upload.php

    r15956 r16061  
    207207    <label class="screen-reader-text" for="media-search-input"><?php _e( 'Search Media' ); ?>:</label>
    208208    <input type="text" id="media-search-input" name="s" value="<?php the_search_query(); ?>" />
    209     <input type="submit" value="<?php esc_attr_e( 'Search Media' ); ?>" class="button" />
     209    <?php submit_button( __( 'Search Media' ), 'button', 'submit', false ); ?>
    210210</p>
    211211</form>
Note: See TracChangeset for help on using the changeset viewer.