upload_url_path is a relative URL path, not an absolute URL. Remove type='url' as that enforces absoluteness. see #17863.
git-svn-id: https://develop.svn.wordpress.org/trunk@20204 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
671a9f07e2
commit
c7a6f3bdf2
|
@ -128,7 +128,7 @@ include('./admin-header.php');
|
||||||
|
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><label for="upload_url_path"><?php _e('Full URL path to files'); ?></label></th>
|
<th scope="row"><label for="upload_url_path"><?php _e('Full URL path to files'); ?></label></th>
|
||||||
<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" />
|
<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" />
|
||||||
<span class="description"><?php _e('Configuring this is optional. By default, it should be blank.'); ?></span>
|
<span class="description"><?php _e('Configuring this is optional. By default, it should be blank.'); ?></span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in New Issue