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/edit-comments.php

    r15956 r16061  
    203203    <label class="screen-reader-text" for="comment-search-input"><?php _e( 'Search Comments' ); ?>:</label>
    204204    <input type="text" id="comment-search-input" name="s" value="<?php _admin_search_query(); ?>" />
    205     <input type="submit" value="<?php esc_attr_e( 'Search Comments' ); ?>" class="button" />
     205    <?php submit_button( __( 'Search Comments' ), 'button', 'submit', false ); ?>
    206206</p>
    207207
Note: See TracChangeset for help on using the changeset viewer.