Ticket #21391: 21391.7.diff
File 21391.7.diff, 819 bytes (added by , 12 years ago) |
---|
-
wp-admin/includes/media.php
2287 2287 <label for="attachment_caption"><strong><?php _e( 'Caption' ); ?></strong></label><br /> 2288 2288 <textarea class="widefat" name="excerpt" id="attachment_caption"><?php echo $post->post_excerpt; ?></textarea> 2289 2289 </p> 2290 2290 2291 <?php if ( 'image' === substr( $post->post_mime_type, 0, 5 ) ) : ?> 2291 2292 <p> 2292 2293 <label for="attachment_alt"><strong><?php _e( 'Alternative Text' ); ?></strong></label><br /> 2293 2294 <input type="text" class="widefat" name="_wp_attachment_image_alt" id="attachment_alt" value="<?php echo esc_attr( $alt_text ); ?>" /> 2294 2295 </p> 2296 <?php endif; ?> 2297 2295 2298 </div> 2296 2299 <?php 2297 endif;2298 2300 } 2299 2301 2300 2302 /**