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/media.php

    r14139 r15830  
    101101</div>
    102102
    103 <p class="submit">
    104 <input type="submit" class="button-primary" name="save" value="<?php esc_attr_e('Update Media'); ?>" />
     103<?php submit_button( __('Update Media') ); ?>
    105104<input type="hidden" name="post_id" id="post_id" value="<?php echo isset($post_id) ? esc_attr($post_id) : ''; ?>" />
    106105<input type="hidden" name="attachment_id" id="attachment_id" value="<?php echo esc_attr($att_id); ?>" />
     
    108107<?php wp_original_referer_field(true, 'previous'); ?>
    109108<?php wp_nonce_field('media-form'); ?>
    110 </p>
     109
    111110</form>
    112111
Note: See TracChangeset for help on using the changeset viewer.