Opened 5 years ago
Closed 5 years ago
#7384 closed defect (bug) (duplicate)
media-upload.php custom upload path
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | |
| Severity: | normal | Keywords: | media |
| Cc: |
Description
When I set a custom uplad path in wp-admin/options-misc.php (e.g. wp-content/mycustompath), the Media uploader media-upload.php puts the files in the custom path (e.g. wp-content/mycustompath/pic.png), but inserts a link in the post body to the defaul upload path wp-content/uploads.
I.e., the img src is to wp-content/uploads/pic.png and the images don't load.
I also use "manage uploads in folders based on date".
wordpress 2.6
PHP 5.2.6 (cli) (built: May 11 2008 13:09:39)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies

This is already fixed in #7308.