From 5049a8f7d6e72aee2db69f49597cb900e2c5d948 Mon Sep 17 00:00:00 2001 From: ryan 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: http://svn.automattic.com/wordpress/trunk@7177 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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'),