fix missing thumbnail radio button for inserting into post. Props andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@7177 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
353bf81a5e
commit
02facfc3e4
@ -451,7 +451,7 @@ function image_attachment_fields_to_edit($form_fields, $post) {
|
||||
|
||||
$form_fields['post_content']['label'] = __('Long Description');
|
||||
|
||||
$thumb = wp_get_attachment_thumb_url();
|
||||
$thumb = wp_get_attachment_thumb_url($post->ID);
|
||||
|
||||
$form_fields['align'] = array(
|
||||
'label' => __('Alignment'),
|
||||
|
Loading…
Reference in New Issue
Block a user