Ticket #24580: media_patch.diff
File media_patch.diff, 649 bytes (added by , 12 years ago) |
---|
-
media.php
2383 2383 <div class="wp_attachment_details edit-form-section"> 2384 2384 <p> 2385 2385 <label for="attachment_caption"><strong><?php _e( 'Caption' ); ?></strong></label><br /> 2386 <textarea class="widefat" name="excerpt" id="attachment_caption"><?php echo $post->post_excerpt; ?></textarea>2386 <textarea class="widefat" name="excerpt" id="attachment_caption"><?php echo esc_textarea( $post->post_excerpt ); ?></textarea> 2387 2387 </p> 2388 2388 2389 2389 <?php if ( 'image' === substr( $post->post_mime_type, 0, 5 ) ) : ?>