• Skip to primary navigation
  • Skip to main content

RocketGeek

Home of WP-Members, The Original WordPress Membership Plugin

  • WordPress Plugins
    • WP-Members
      • FAQs
      • Quick Start
      • Documentation
      • Extensions
    • Advanced Options
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Download Protect
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Invite Codes
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • MailChimp Integration
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • PayPal Subscriptions
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Salesforce Web-to-Lead
    • Security
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Text Editor
      • Purchase the Plugin
      • Get the Pro Bundle
    • User List
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • User Tracking
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Memberships for WooCommerce
    • WordPass
  • Blog
    • Basics
    • Tips and Tricks
    • Filters
    • Actions
    • Code Snippets
    • Shortcodes
    • Design
    • Release Announcements
  • Store
    • Cart
    • Checkout
  • Contact
  • Log In
  • Show Search
Hide Search
Home » Download Protect » WP-Members Download Protect 2.0.1

WP-Members Download Protect 2.0.1

Chad Butler · Nov 7, 2026 ·

This article is provided free. Find out how you can get full access to premium content, including how-to articles and support forums, as well as priority email support and member exclusive plugin extensions..

 

WP-Members Download Protect version 2.0.1 has been released. This is primarily a bug fix release.

This release fixes a bug in the download stats that causes a problem with pagination. If the view was filtered by individual user or file and the results had more than one page, the pagination for later pages was wrong and resulted in going back to the unfiltered view. This release fixes that bug.

This version adds to filters to filter the required user capability for certain actions.

First, the media page upload. Previously, in order to access the page to manage files handled by Download Protect, the user needed to have the manage_options capability. That is still the default, but it can now be filtered by the new wpmem_dp_media_page_cap filter hook to allow you to customize the necessary user capability. For example:

add_filter( 'wpmem_dp_media_cap', function( $capability ) {
     return 'edit_users';
});

Similarly, the download stats required edit_users capability. The default capability has now been changed to list_users. This brings the capability down a little bit, although in the vast majority of use cases, custom roles with list_users also have edit_users caps. In testing, the list_users capability made more sense for this custom screen. Additionally, the default capability can be filtered with wpmem_dp_stats_page_cap. For example:

add_filter( 'wpmem_dp_stats_page_cap', function( $capability ) {
     return 'edit_users';
});

Download Protect, Release Announcements download-protect, release-notes

Ready to get started?

Join Today!

© 2026 · butlerblog.com · RocketGeek is built using WordPress, WP-Members, and the Genesis Framework

  • butlerblog.com
  • WP-Members Support Subscription
  • Terms of Service
  • Privacy Policy
  • Refund Policy