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

    r15956 r16061  
    224224    <label class="screen-reader-text" for="post-search-input"><?php echo $post_type_object->labels->search_items; ?>:</label>
    225225    <input type="text" id="post-search-input" name="s" value="<?php the_search_query(); ?>" />
    226     <input type="submit" value="<?php echo esc_attr( $post_type_object->labels->search_items  ); ?>" class="button" />
     226    <?php submit_button( $post_type_object->labels->search_items, 'button', 'submit', false ); ?>
    227227</p>
    228228
Note: See TracChangeset for help on using the changeset viewer.