Changeset 27862 for trunk/src/wp-admin/includes/media.php
- Timestamp:
- 03/30/2014 07:27:31 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r27695 r27862 2662 2662 <div class="wp_attachment_details edit-form-section"> 2663 2663 <p> 2664 <label for="attachment_caption"><strong><?php _e( 'Caption' ); ?></strong></label><br /> 2664 <label for="attachment_caption"><strong><?php _e( 'Caption' ); ?></strong><?php 2665 if ( preg_match( '#^audio|video#', $post->post_mime_type ) ): ?>: <?php 2666 _e( "Custom label for item in a playlist. If empty, the file's available data is used." ); 2667 endif ?></label><br /> 2665 2668 <textarea class="widefat" name="excerpt" id="attachment_caption"><?php echo $post->post_excerpt; ?></textarea> 2666 2669 </p> 2670 2667 2671 2668 2672 <?php if ( 'image' === substr( $post->post_mime_type, 0, 5 ) ) : ?> … … 2684 2688 ?> 2685 2689 2686 <label for="content"><strong><?php _e( 'Description' ); ?></strong></label> 2690 <label for="content"><strong><?php _e( 'Description' ); ?></strong><?php 2691 if ( preg_match( '#^audio|video#', $post->post_mime_type ) ): ?>: <?php 2692 _e( 'Displayed on attachment pages.' ); 2693 endif ?></label> 2687 2694 <?php wp_editor( $post->post_content, 'attachment_content', $editor_args ); ?> 2688 2695 … … 2766 2773 $fields = apply_filters( 'media_submitbox_misc_sections', array( 2767 2774 'mime_type' => __( 'Mime-type:' ), 2768 'year' => __( 'Year:' ),2769 'genre' => __( 'Genre:' ),2770 2775 'length_formatted' => __( 'Length:' ), 2771 2776 ) );
Note: See TracChangeset
for help on using the changeset viewer.