Make WordPress Core


Ignore:
Timestamp:
10/17/2010 06:24:34 PM (14 years ago)
Author:
scribu
Message:

Use submit_button() in more places. See #15064

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/users.php

    r15746 r15830  
    191191    </ul></fieldset>
    192192    <input type="hidden" name="action" value="dodelete" />
    193     <p class="submit"><input type="submit" name="submit" value="<?php esc_attr_e('Confirm Deletion'); ?>" class="button-secondary" /></p>
     193    <?php submit_button( __('Confirm Deletion'), 'secondary' ); ?>
    194194<?php else : ?>
    195195    <p><?php _e('There are no valid users selected for deletion.'); ?></p>
     
    279279<?php if ( $go_remove ) : ?>
    280280        <input type="hidden" name="action" value="doremove" />
    281         <p class="submit"><input type="submit" name="submit" value="<?php esc_attr_e('Confirm Removal'); ?>" class="button-secondary" /></p>
     281        <?php submit_button( __('Confirm Removal'), 'secondary' ); ?>
    282282<?php else : ?>
    283283    <p><?php _e('There are no valid users selected for removal.'); ?></p>
Note: See TracChangeset for help on using the changeset viewer.