Make WordPress Core

Changeset 24228


Ignore:
Timestamp:
05/09/2013 11:53:24 PM (12 years ago)
Author:
SergeyBiryukov
Message:

Use correct escaping function. props tollmanz. fixes #24300.

File:
1 edited

Legend:

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

    r24226 r24228  
    5454                        _e( 'Image URL' );
    5555                ?></label>
    56                 <textarea id="wp_format_image" type="text" name="_format_image" class="widefat"><?php esc_html_e( $format_meta['image'] ); ?></textarea>
     56                <textarea id="wp_format_image" type="text" name="_format_image" class="widefat"><?php echo esc_html( $format_meta['image'] ); ?></textarea>
    5757            </div>
    5858            <p class="use-url-or-html hide-if-no-js"><span><?php printf( __( '(or %suse an image URL or HTML%s)' ), '<a href="#">', '</a>' ); ?></span>
     
    103103                    _e( 'Video URL' );
    104104            ?></label>
    105             <textarea id="wp_format_video" type="text" name="_format_video_embed" class="widefat"><?php esc_html_e( $format_meta['video_embed'] ); ?></textarea>
     105            <textarea id="wp_format_video" type="text" name="_format_video_embed" class="widefat"><?php echo esc_html( $format_meta['video_embed'] ); ?></textarea>
    106106            <div data-format="video" class="wp-format-media-holder hide-if-no-js">
    107107                <a href="#" class="wp-format-media-select"
     
    141141                    _e( 'Audio URL' );
    142142            ?></label>
    143             <textarea id="wp_format_audio" name="_format_audio_embed" class="widefat"><?php esc_html_e( $format_meta['audio_embed'] ); ?></textarea>
     143            <textarea id="wp_format_audio" name="_format_audio_embed" class="widefat"><?php echo esc_html( $format_meta['audio_embed'] ); ?></textarea>
    144144            <div data-format="audio" class="wp-format-media-holder hide-if-no-js">
    145145                <a href="#" class="wp-format-media-select" data-choose="<?php esc_attr_e( 'Choose Audio' ); ?>" data-update="<?php esc_attr_e( 'Select Audio' ); ?>">
Note: See TracChangeset for help on using the changeset viewer.