ahpcservices
Forum Replies Created
-
I’ve found a way to translate the Approved/Rejected buttons, as their texts are simply missing from the pot file (so I’ve added my own pot with Loco Translate, and I could translate these texts)
- This reply was modified 2 years, 2 months ago by ahpcservices.
Forum: Plugins
In reply to: [Download Manager] WordPress 6.0 shortcode [wpdm_category] is brokenHI @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.
Forum: Plugins
In reply to: [Download Manager] WordPress 6.0 shortcode [wpdm_category] is brokenHello @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 notSo I have a temporary workaround by adding to all my admin accounts, all the roles that I’m using to setup download authorizations.
Forum: Plugins
In reply to: [Download Manager] WordPress 6.0 shortcode [wpdm_category] is brokenI forgot: Download Manager Version 3.2.41