Not Multisite Ready

in Download Manager Free

Viewing 6 posts - 1 through 6 (of 6 total)
Mar 13, 2021 at 7:09 pm
#148482
Participant
Ron Barack
OP

When files are uploaded, they are added to a single directory, regardless of which blog added them. Also regardless of date. This is of course extremely ugly and not compatible with the WordPress best practices (which would be to use the function wp_upload_dir() to determine the root of the upload directory). When there is a conflict, when a file is uploaded with the same name as a previously uploaded file, how the situation is handled depends on the blogs settings. If the blog setting is to replace the previous file, then the file is removed regardless of whether or not the file was from the same blog or another. That mean, one blog can remove files from another blog.

Not good.

Why is wp_upload_dir() not used?

Mar 14, 2021 at 10:29 am
#148501
Moderator
Nayeem Riddhi
Staff

Hi,

Download manager files generally uploaded in wp-contents > uploads > download-manager-files folder, please check

thanks

Mar 14, 2021 at 2:23 pm
#148512
Participant
Ron Barack
OP

That’s exactly the point: it loads everything into the same directory, regardless of the blog. On a multisite, that means that one blog can replace the file used by another blog. It seems to me you must put each blogs uploads into a separate directory.

Mar 14, 2021 at 5:45 pm
#148513
Participant
Ron Barack
OP
This reply has been marked as private.
Mar 15, 2021 at 2:52 am
#148535
Moderator
Nayeem Riddhi
Staff

Can you please share your related URL, if possible, please, give your temporary wp-admin login details in a private reply for checking the issue

Thanks

Mar 15, 2021 at 9:47 am
#148551
Participant
Ron Barack
OP
This reply has been marked as private.
Viewing 6 posts - 1 through 6 (of 6 total)

The topic "Not Multisite Ready" is closed to new replies.