WordPress.org

Make WordPress Core

Changeset 20204


Ignore:
Timestamp:
03/16/2012 04:43:20 AM (9 years ago)
Author:
nacin
Message:

upload_url_path is a relative URL path, not an absolute URL. Remove type='url' as that enforces absoluteness. see #17863.

File:
1 edited

Legend:

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

    r20203 r20204  
    129129<tr valign="top">
    130130<th scope="row"><label for="upload_url_path"><?php _e('Full URL path to files'); ?></label></th>
    131 <td><input name="upload_url_path" type="url" id="upload_url_path" value="<?php echo esc_attr( get_option('upload_url_path')); ?>" class="regular-text code" />
     131<td><input name="upload_url_path" type="text" id="upload_url_path" value="<?php echo esc_attr( get_option('upload_url_path')); ?>" class="regular-text code" />
    132132<span class="description"><?php _e('Configuring this is optional. By default, it should be blank.'); ?></span>
    133133</td>
Note: See TracChangeset for help on using the changeset viewer.