WordPress.org

Make WordPress Core

Ticket #5911: 5911-18.diff

File 5911-18.diff, 452 bytes (added by andy, 6 years ago)

fix missing thumbnail radio button for inserting into post

  • wp-admin/includes/media.php

     
    451451 
    452452                $form_fields['post_content']['label'] = __('Long Description'); 
    453453 
    454                 $thumb = wp_get_attachment_thumb_url(); 
     454                $thumb = wp_get_attachment_thumb_url($post->ID); 
    455455 
    456456                $form_fields['align'] = array( 
    457457                        'label' => __('Alignment'),