From 9c74c25f37ca73f4c539a5aa5e62f0a370979d0a Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 20 Nov 2009 15:26:14 +0000 Subject: [PATCH] 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 --- 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 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.') ) );