Ticket #24300: 24300.2.diff
| File 24300.2.diff, 2.0 KB (added by , 13 years ago) |
|---|
-
wp-admin/includes/post-formats.php
53 53 else 54 54 _e( 'Image URL' ); 55 55 ?></label> 56 <textarea id="wp_format_image" type="text" name="_format_image" class="widefat"><?php e sc_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> 57 57 </div> 58 58 <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> 59 59 <span style="display: none"><?php printf( __( '(or %sselect/upload an image%s)' ), '<a href="#">', '</a>' ); ?></span></p> … … 102 102 else 103 103 _e( 'Video URL' ); 104 104 ?></label> 105 <textarea id="wp_format_video" type="text" name="_format_video_embed" class="widefat"><?php e sc_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> 106 106 <div data-format="video" class="wp-format-media-holder hide-if-no-js"> 107 107 <a href="#" class="wp-format-media-select" 108 108 data-choose="<?php esc_attr_e( 'Choose a Video' ); ?>" … … 140 140 else 141 141 _e( 'Audio URL' ); 142 142 ?></label> 143 <textarea id="wp_format_audio" name="_format_audio_embed" class="widefat"><?php e sc_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> 144 144 <div data-format="audio" class="wp-format-media-holder hide-if-no-js"> 145 145 <a href="#" class="wp-format-media-select" data-choose="<?php esc_attr_e( 'Choose Audio' ); ?>" data-update="<?php esc_attr_e( 'Select Audio' ); ?>"> 146 146 <?php _e( 'Select Audio From Media Library' ) ?>