Changeset 45158
- Timestamp:
- 04/10/2019 07:59:16 PM (5 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/media.css
r44791 r45158 826 826 14.2 - Image Editor 827 827 ------------------------------------------------------------------------------*/ 828 829 830 831 832 833 834 828 835 829 836 .wp_attachment_details label[for="content"] { -
trunk/src/wp-admin/includes/media.php
r45082 r45158 3013 3013 </div> 3014 3014 <div class="wp_attachment_details edit-form-section"> 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3015 3037 <p> 3016 3038 <label for="attachment_caption"><strong><?php _e( 'Caption' ); ?></strong></label><br /> 3017 3039 <textarea class="widefat" name="excerpt" id="attachment_caption"><?php echo $post->post_excerpt; ?></textarea> 3018 3040 </p> 3019 3020 3021 <?php if ( 'image' === substr( $post->post_mime_type, 0, 5 ) ) : ?>3022 <p>3023 <label for="attachment_alt"><strong><?php _e( 'Alternative Text' ); ?></strong></label><br />3024 <input type="text" class="widefat" name="_wp_attachment_image_alt" id="attachment_alt" value="<?php echo esc_attr( $alt_text ); ?>" />3025 </p>3026 <?php endif; ?>3027 3041 3028 3042 <?php … … 3038 3052 3039 3053 <label for="attachment_content"><strong><?php _e( 'Description' ); ?></strong> 3040 3041 3042 3043 3044 3054 <?php 3055 if ( preg_match( '#^(audio|video)/#', $post->post_mime_type ) ) { 3056 echo ': ' . __( 'Displayed on attachment pages.' ); 3057 } 3058 ?> 3045 3059 </label> 3046 3060 <?php wp_editor( $post->post_content, 'attachment_content', $editor_args ); ?>
Note: See TracChangeset
for help on using the changeset viewer.