WordPress.org

Make WordPress Core

Changeset 12242


Ignore:
Timestamp:
11/20/2009 03:26:14 PM (9 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/media.php

    r12240 r12242  
    10411041            'input'      => 'html',
    10421042            'html'       => "<input type='text' class='text urlfield' readonly='readonly' name='attachments[$post->ID][url]' value='" . esc_attr($image_url) . "' /><br />",
    1043             'value'      => isset($edit_post->post_url) ? $edit_post->post_url : wp_get_attachment_url($post->ID),
     1043            'value'      => wp_get_attachment_url($post->ID),
    10441044            'helps'      => __('Location of the uploaded file.')
    10451045        )
Note: See TracChangeset for help on using the changeset viewer.