I forgot: Download Manager Version 3.2.41
Hi @ahpcservices
Greetings and Welcome to the support forum.
I have tested your provided shortcode with WordPress 6.0 in our test environment, and it appears that the shortcode is working fine.
Please have a look at this reference screencast.
There can be a conflict with another third-party plugin. Can you please enable/disable other plugins for checking?
You may also switch the theme to another default WordPress theme, Twenty Twenty-One for checking.
Feel free to reach back and report your findings.
Best Regards
Hello @humayonk
Thanks for taking the time to help me.
After investigating a little more, it seems that the problem is less serious and a little more subtle than I thought.
Actually, it’s not that some downloads are not shown, but that they’re inaccessible for download to administrators (my theme is hiding all downloads that are not available to the current user).
There is still a bug, where one of them (not always the same one) is still accessible whereas all or none should be.
It goes as follows:
– Each of my downloads is explicitly made available to some user roles (via the “authorize access” box)
– In WordPress 5, administrators seem to have implicit access to all downloads (they’re considered to have all roles I suppose)
– In WordPress 6, it seems they don’t
– But using the [wpdm_category] shortcode, admins always retain access to one of the displayed download posts (not always the first one)
– If I explicitly add one of the authorized roles to an admin, then they have access to the downloads authorized to this role, plus a random one that is not
So I have a temporary workaround by adding to all my admin accounts, all the roles that I’m using to setup download authorizations.
Hi @ahpcservices
Thank you for your reply.
To understand the scenario better, it will be very cooperative if you record me reproducing your issue using a tool like this?
It helps me to figure out the issue quickly and squash it immediately.
Thank you
HI @humayonk
While setting up a test environment to capture you a screencast, I discovered that the problem seems to come from the WPML plugin.
So I’ll be investigating on that side…
Thanks a lot.
Hello @ahpcservices
Glad to hear that you found the root cause.
Feel free to reach back and report your findings.
Have a good day.