A5hleyRich / delightful-downloads

A super-awesome downloads manager for WordPress.
https://delightfuldownloads.com
26 stars 27 forks source link

Uploads not working for non-admin users #81

Closed A5hleyRich closed 9 years ago

A5hleyRich commented 9 years ago

When logged in to the WP dashboard they can see the "Downloads" menu to the left with "All Downloads" and "Add New" pages shown. However, when trying to upload a file, the uploader reaches 100% then just freezes. They can view and edit the existing uploads under "All Downloads" fine, just not upload new ones.

https://wordpress.org/support/topic/admineditorauthor-uploads?replies=4

jevgen commented 9 years ago

Tested this, everything all right, there is no issue in FF.

A5hleyRich commented 9 years ago

Also unable to replicate. More information requested.

A5hleyRich commented 9 years ago

Looks like this is an issue with Windows. Need to setup a VM to investigate this and #80.

jevgen commented 9 years ago

Not really. I have active Windows user with Editor. No issues like that in latest FF on Win 7.1

jevgen commented 9 years ago

I was able to reproduce the issue. If site admin is fiddling with limited interface for certain wp role and calls admin_init instead of admin_menu in his functions.php, he or she will get error in php visible only if debug is on and this will cause the mentioned problem for that particular role. Turns out to be browser-independent.

A5hleyRich commented 9 years ago

@jevgen Can you clarify how you replicated this issue?

A5hleyRich commented 9 years ago

Closing for now. Issue should be resolved when uploads moved to default WordPress media modal.