From 02facfc3e4bc7cbfb77746a3884416e3f61bba5a Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 6 Mar 2008 23:40:21 +0000 Subject: [PATCH] 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 --- wp-admin/includes/media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index e705e6473e..b80a7d958a 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -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'),