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

git-svn-id: http://svn.automattic.com/wordpress/trunk@16061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith
2010-10-28 21:56:43 +00:00
parent 15b56af964
commit fc6e89da45
56 changed files with 197 additions and 164 deletions

View File

@@ -112,7 +112,7 @@ class WP_Users_Table extends WP_List_Table {
<option value=''><?php _e( 'Change role to&hellip;' ) ?></option>
<?php wp_dropdown_roles(); ?>
</select>
<input type="submit" value="<?php esc_attr_e( 'Change' ); ?>" name="changeit" class="button-secondary" />
<?php submit_button( __( 'Change' ), 'secondary', 'changeit', false ); ?>
</div>
<?php
}