Options upload_path and fileupload_url are ignored in function wp_upload_dir in multisite
|Reported by:||jottlieb||Owned by:|
|Severity:||normal||Keywords:||multisite, attachment, media, wp_upload_dir|
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).