Make WordPress Core


Ignore:
Timestamp:
05/05/2009 07:43:53 PM (16 years ago)
Author:
markjaquith
Message:

_a(), _ea(), _xa(), attr() are now esc_attr(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650

File:
1 edited

Legend:

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

    r11110 r11204  
    9494
    9595<p class="submit">
    96 <input type="submit" class="button-primary" name="save" value="<?php _ea('Update Media'); ?>" />
    97 <input type="hidden" name="post_id" id="post_id" value="<?php echo isset($post_id) ? attr($post_id) : ''; ?>" />
    98 <input type="hidden" name="attachment_id" id="attachment_id" value="<?php echo attr($att_id); ?>" />
     96<input type="submit" class="button-primary" name="save" value="<?php esc_attr_e('Update Media'); ?>" />
     97<input type="hidden" name="post_id" id="post_id" value="<?php echo isset($post_id) ? esc_attr($post_id) : ''; ?>" />
     98<input type="hidden" name="attachment_id" id="attachment_id" value="<?php echo esc_attr($att_id); ?>" />
    9999<input type="hidden" name="action" value="editattachment" />
    100100<?php wp_original_referer_field(true, 'previous'); ?>
Note: See TracChangeset for help on using the changeset viewer.