WordPress.org

Make WordPress Core


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

Use submit_button() in more places. See #15064

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/user-edit.php

    r15780 r15830  
    385385<?php } ?>
    386386
    387 <p class="submit">
    388     <input type="hidden" name="action" value="update" />
    389     <input type="hidden" name="user_id" id="user_id" value="<?php echo esc_attr($user_id); ?>" />
    390     <input type="submit" class="button-primary" value="<?php IS_PROFILE_PAGE ? esc_attr_e('Update Profile') : esc_attr_e('Update User') ?>" name="submit" />
    391 </p>
     387<input type="hidden" name="action" value="update" />
     388<input type="hidden" name="user_id" id="user_id" value="<?php echo esc_attr($user_id); ?>" />
     389
     390<?php submit_button( IS_PROFILE_PAGE ? __('Update Profile') : __('Update User') ); ?>
     391
    392392</form>
    393393</div>
Note: See TracChangeset for help on using the changeset viewer.