Creation of upload_path & upload_url_path
-
I contend that recent changes to how WP now deals with upload_path and upload_url_path in core – causes an incorrect path result when working with a blog created using the add_network function in this plugin.
Core automatically adds /sites/## (where ## is the blog id) to the directory path (in _wp_upload_dir). The plugin currently updates these two blog options with uploads/sites/## – which is then compounded by _wp_upload_dir making for some crazy urls – e.g. sites/##/sites/## …
I believe that leaving the two blog options empty will correct the issue. (at least that fixes it for my site(s))
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Creation of upload_path & upload_url_path’ is closed to new replies.