An update to the Download Protect extension was released today, version 1.9.6.
This update fixes a bug when the plugin is used along with the WP-Members PayPal extension that caused users with a valid expiration date to be unable to download a restricted file. It was a logic problem related to the most recent update of the plugin in which a deprecated function in the PayPal extension was replaced. The new version fixes this problem.
Other improvements in this update change the “wpmem_dp_verify” filter to be an action hook. This hook is used for applying custom validation or customizing the existing default validation to download a file. It was actually being used as an action hook even though it was a filter, so it was updated to be an action. While functionally, this should not require any changes, if you were using wpmem_dp_verify with “add_filter()”, you should update that call to “add_action()”.
There was also a filter hook added for customizing the error URL the user is redirected to on errors. When the plugin is set up completely in the default configuration, this is not necessary, but the addition of the filter hook does allow for the process to be customized.