Make WordPress Core


Ignore:
Timestamp:
04/28/2009 06:37:51 AM (15 years ago)
Author:
ryan
Message:

attr escaping. see #9650

File:
1 edited

Legend:

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

    r11052 r11110  
    9494
    9595<p class="submit">
    96 <input type="submit" class="button-primary" name="save" value="<?php _e('Update Media'); ?>" />
    97 <input type="hidden" name="post_id" id="post_id" value="<?php echo isset($post_id) ? $post_id : ''; ?>" />
    98 <input type="hidden" name="attachment_id" id="attachment_id" value="<?php echo $att_id; ?>" />
     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); ?>" />
    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.