#15468 closed defect (bug) (invalid)
Options upload_path and fileupload_url are ignored in function wp_upload_dir in multisite
| Reported by: | jottlieb | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Multisite | Version: | 3.0.1 |
| Severity: | normal | Keywords: | attachment, media, wp_upload_dir |
| Cc: | Focuses: | multisite |
Description
I've noticed, that the options upload_path and fileupload_url are ignored in the function wp_upload_dir when multisite is activated and the function is used in sub blogs.
So, every time wp_upload_dir is used (e.g. in manage media) the stored options a ignored and default sub blog uploads folder is forced.
This causes problems in special applications (e.g. sitewide attachments).
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
And another question is:
Why uses wp_get_attachment_url() the function wp_upload_dir() and not the guid-field or _wp_attached_file-field?