WordPress.org

Make WordPress Core

Ticket #22642: 22642.diff

File 22642.diff, 687 bytes (added by nacin, 17 months ago)
  • wp-admin/includes/media.php

     
    13251325        $form_fields = apply_filters( 'attachment_fields_to_edit', $form_fields, $post ); 
    13261326 
    13271327        unset( $form_fields['image-size'], $form_fields['align'], $form_fields['image_alt'], 
    1328                 $form_fields['post_title'], $form_fields['post_excerpt'], $form_fields['post_content'], 
     1328                $form_fields['post_title'], $form_fields['post_excerpt'], 
    13291329                $form_fields['url'], $form_fields['menu_order'], $form_fields['image_url'] ); 
    13301330 
    13311331        $media_meta = apply_filters( 'media_meta', '', $post );