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/network/sites.php

    r16014 r16061  
    100100<input type="hidden" name="action" value="blogs" />
    101101<input type="text" name="s" value="<?php echo esc_attr( $s ); ?>" />
    102 <input type="submit" class="button" value="<?php esc_attr_e( 'Search Site by' ) ?>" />
     102<?php submit_button( __( 'Search Site by' ), 'button', 'submit', false ); ?>
    103103<select name="searchaction">
    104104    <option value="name" selected="selected"><?php _e( 'Name' ); ?></option>
Note: See TracChangeset for help on using the changeset viewer.