Remove reference to non-existent field. Props scribu. fixes #11098

git-svn-id: http://svn.automattic.com/wordpress/trunk@12242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-11-20 15:26:14 +00:00
parent 4b20540781
commit 3e17d8b880
1 changed files with 1 additions and 1 deletions

View File

@ -1040,7 +1040,7 @@ function get_attachment_fields_to_edit($post, $errors = null) {
'label' => __('File URL'),
'input' => 'html',
'html' => "<input type='text' class='text urlfield' readonly='readonly' name='attachments[$post->ID][url]' value='" . esc_attr($image_url) . "' /><br />",
'value' => isset($edit_post->post_url) ? $edit_post->post_url : wp_get_attachment_url($post->ID),
'value' => wp_get_attachment_url($post->ID),
'helps' => __('Location of the uploaded file.')
)
);