diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php
index 5ef2044d92..f5a3a11770 100644
--- a/wp-admin/includes/media.php
+++ b/wp-admin/includes/media.php
@@ -1040,7 +1040,7 @@ function get_attachment_fields_to_edit($post, $errors = null) {
'label' => __('File URL'),
'input' => 'html',
'html' => "
",
- '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.')
)
);