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:
@@ -112,7 +112,7 @@ class WP_Users_Table extends WP_List_Table {
|
||||
<option value=''><?php _e( 'Change role to…' ) ?></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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user