Stefano Cardinale

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
in reply to: [Patch] Can’t download ‘public’ files #165604

Stefano Cardinale
Participant

I’m sorry to inform you that on my system the meta key stored on db is empty for that value (All Visitors), I’m mount a test site without any other plugin to make another test, but I’m pretty sure that there is a problem

in reply to: [Patch] Can’t download ‘public’ files #165553

Stefano Cardinale
Participant

Hi, I’m trying to have files that are free to download for all

when the system executes this instruction $access = get_post_meta($media->ID, '__wpdm_media_access', true); the result is not an array because the __wpdm_media_access value is blank
I selected ‘All visitors’ into my download definition.
The line of code I added just check if the value for that meta is empty and in case initialize the access right array with a ‘Public’ value. In this way the following checks will be succesful and the visitor can get his file.

I Hope this can describe the issue better than before
I apologize for my english

Viewing 2 posts - 1 through 2 (of 2 total)