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

git-svn-id: https://develop.svn.wordpress.org/trunk@12242 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-11-20 15:26:14 +00:00
parent 446d22adcd
commit 9c74c25f37

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.')
)
);