Overlapping upload paths with multiple networks
|Reported by:||ddean||Owned by:||nacin|
When ms_files_rewriting is disabled on a WP install with multiple networks, wp_upload_dir() assigns the "main site" for each network the same upload path.
Expected: Every site other than the main site of the first network will be assigned a sites/[id] upload path.
Observed: The function does not distinguish between the main site on the primary network and the main site on a secondary network, so multiple sites are assigned wp-content/uploads.