Make WordPress Core

Changeset 23878


Ignore:
Timestamp:
03/29/2013 10:20:18 PM (11 years ago)
Author:
SergeyBiryukov
Message:

Use correct escaping function. see #23900.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/post-formats.php

    r23874 r23878  
    4040        </div>
    4141        <label for="_wp_format_image" class="screen-reader-text"><?php _e( 'Attachment ID' ); ?>:</label>
    42         <input id="wp_format_image" type="hidden" name="_wp_format_image" value="<?php esc_attr_e( $format_meta['image'] ); ?>" placeholder="<?php esc_attr_e( 'Attachment ID' ); ?>" class="widefat" />
     42        <input id="wp_format_image" type="hidden" name="_wp_format_image" value="<?php echo esc_attr( $format_meta['image'] ); ?>" placeholder="<?php esc_attr_e( 'Attachment ID' ); ?>" class="widefat" />
    4343    </div>
    4444
Note: See TracChangeset for help on using the changeset viewer.