Minimum requirements
Version 2.3.3, August 31, 2022
- Fix: Scripts for the content restriction controls were not always loaded for all valid post types.
Version 2.3.2, August 2, 2022
- Improvement: The Software Licensing integration has been updated to be more performant and accurate when checking the validity of a license.
- Fix: Adding a new download to the content restriction settings for a post was not working in EDD 3.0.
- Fix: Custom restriction messages which should span multiple lines did not.
- Fix: Selecting "any" download in the content restriction settings for a post would cause a PHP notice.
Version 2.3.1, October 14, 2021
- Improvement: Prefix metabox title with "Easy Digital Downloads" to avoid confusion with other restriction plugins.
- Improvement: Shortcodes can now be used inside the
[edd_cr_no_access]
shortcode. - Improvement: Show a message inside the metabox if no downloads have been created yet.
- Fix: PHP warning if the
[edd_cr_no_access]
shortcode is used without theid
attribute. - Fix: Restriction metabox showing on attachments, when the plugin does not support restricting them.
- Fix: Some download variations are unable to be selected for restriction.
- Fix: Trashed posts appearing in the restricted page list.
- Refactor: Adjust activation logic and check system requirements prior to loading plugin.
Version 2.3, December 19, 2018
- New: bbPress integration now allows custom content restriction messages to work, instead of generic messaging
- New: Added a metabox checkbox to hide/show all restriction options if none are in use.
- New: Added a shortcode which shows content if the user does not have access (useful for previews/teasers).
- New: Added unit tests for user access functions.
- Fix: The Software Licensing “Require valid license key” checkbox was showing twice in Content Restriction metabox. It now only shows once.
- Fix: Fixed a problem where the Recurring Payments integration was preventing access for non-recurring purchases.
- Fix: Fixed a problem where customers saw unlocked pages they didn’t actually have access to on purchase confirmation.
- Fix: Compatibility issues with PHP 7.2 are resolved.
Version 2.2.6, September 8, 2017
- Fix: Restriction options not saving when they include more than one product.
Version 2.2.5, May 30, 2017
- Fix: Undefined variable $message
Version 2.2.4, December 22, 2016
- Fixed: Missing restricted message with edd_restrict shortcode
Version 2.2.3, December 19, 2016
- Fixed: Duplicate settings section
Version 2.2.2, December 15, 2016
- Fixed: Bug which occasionally resulted in blank items in edd_restricted_pages shortcode
Version 2.2.1, December 14, 2016
- Fix: [edd_restricted_pages] shortcode not working
Version 2.2, December 7, 2016
- New: Added support for restricting content to active license key holders
- New: Added support for including bundle purchases in access determinnation
- New: Added a filter to permit no-access messages to be modified
- New: Added per-product no-access message settings
- New: Moved settings to a sub section of the Extensions tab
- Fix: List of pages broken on purchase receipt
- Fix: Incompatibility with EDD Bookings extension
- Fix: Content Restriction UI displayed on media pages
Version 2.1.5, November 1, 2016
- Tweak: move settings to subsection on Extensions tab
- Tweak: update plugin header information
- Tweak: fix inline documentation mistakes
Version 2.1.4, February 26, 2016
- Fix: Removed content restriction settings from Frontend Submissions form editor and from Checkout Fields Manager form editor.
Version 2.1.3, February 8, 2016
- TWEAK: Added filters into the shortcodes for better extensibility
Version 2.1.2, November 9, 2015
- FIX: Fixed issue with the Multiple Restriction Message setting and the {product_names} tag
Version 2.1.1, October 5, 2015
- FIX: Improved compatibility when used with the Wallet extension
Version 2.1, September 17, 2015
- NEW: Add edd_cr_user_has_access() template tag
- NEW: Allow customizing the Restriction messages
- FIX: Anonymous Posting in bbPress settings not being honored
Version 2.0.8, April 20, 2015
- FIX: XSS vulnerability in query args
Version 2.0.7, March 24, 2015
- Fixed a bug with the upgrade notice showing after being completed successfully
Version 2.0.6, December 21, 2014
- Fixed a bug with posts/pages restricted to more than 10 downloads.
Version 2.0.5, December 17, 2014
- Fixed an undefined constant during activation
- Fixed a bug that caused the extension to deactivate during EDD updates.
Version 2.0.4, October 2, 2014
- Fixed a bug with bbPress forums not properly inheriting the restriction settings of parent forums.
Version 2.0.3, September 12, 2014
- Restored the edd_cr_message class that was accidentally removed with v2.0
Version 2.0.2, September 11, 2014
- Fixed a bug with pages being restricted when they shouldn't be
- Fixed a bug with restricted pages not being protected
Version 2.0.1, September 11, 2014
- Fixed an error when updating existing posts and pages
Version 2.0, September 10, 2014
- Added support for restricting content to customers of multiple downloads
- Improved the UI for setting up content restriction options
- Added support for hiding nav menu items that the user does not have access to
- Fixed some minor bugs with the bbPress integration
- Added support for restricting content to customers who have purchased any product, not just specific products
Version 1.5.5, August 12, 2014
- Fixed a bug with site admins and post authors not being able to see content inside of the [edd_restrict] short code.
Version 1.5.4, July 28, 2014
- Updated the {page_list} email tag to be compatible with the new Email Tags API in EDD 2.0+
Version 1.5.3, June 20, 2014
- Fixed a bug with sticky posts getting included in the page list on the receipt
- Fixed notices on bbPress pages by using bbp_has_topics filter instead of altering the query
- Allow product authors access to content restricted to their own products
Version 1.5.2, March 21, 2014
Fixed a bug with logged out users and restricted forums.
Version 1.5.1, March 11, 2014
Fixed a bug that prevented the message=\\\"\\\" parameter from being left blank.
Version 1.5, January 13, 2014
Added a new [edd_restricted_pages] short code for showing a list of pages the customer has access to.
Version 1.4.2, December 5, 2013
Added support for a class option in the [edd_restrict] short code.
Version 1.4.1, October 29, 2013
Fixed a bug that caused purchase receipts to be blank.
Version 1.4, October 25, 2013
Added new {page_list} template tag for purchase receipts to display a list of pages restricted to the product purchased.
Added a list of restricted pages accessible after purchase to the [edd_receipt] short code.
Version 1.3.5
Allow users with permission to edit a post/page to see the content even if it is restricted.
Allow bbPress moderators to view restricted forums.
Version 1.3.4
Added support for short codes inside of the [edd_restrict] short code.
Version 1.3.3
Fixed a serious flaw that allow logged out users to occasionally see restricted content.
Version 1.3.2
Fixed a fatal error.
Version 1.3.1
Fixed a bug with the message attribute.
Version 1.3
Fixed a bug with how multiple download IDs are checked in the short code.
Implemented the new EDD v1.7 licensing model.
Version 1.2
Necessary updates in order to support the EDD Recurring Payments module.
Fixed an issue with the auto updater.
Version 1.1.2
Fixed a couple of undefined index errors.
Improved the way the auto updater is implemented.
Version 1.1.1
Fixed problem with the restriction options not showing for bbPress forums and topics.
Improved data sanitization in metabox.
Version 1.1
Added complete internationalization support.
Fixed an undefined index bug.
Added an automatic updater.
Version 1.0.2
Fixed a couple of bugs with bbPress topic / reply restriction.
Version 1.0.1
Fixed a bug that caused bbPress topic replies to not get restricted if their parent forum was restricted.
Added a div.edd_cr_message wrapper to the content restriction messages.
Version 1.0
Initial release
This extension for Easy Digital Downloads allows you to easily restrict content on your site to only those users who have purchased your products. In just seconds, you can limit the content of any post, page, custom post type, and even bbPress forums and topics to confirmed buyers of any product. If a user has not purchased the required product, they will be unable to view restricted content and will be shown a message instead, telling them they must purchase the product.
Once activated, all posts, pages, forums, topics, and other posts from public custom post types will have a section added to the edit screen that allows you to select the product, or products, that the customer needs to have purchased in order to access the content.
Along with restricting the entire content of posts or pages, you can also restrict partial content areas with the [edd_restrict] short code.
Note: in order to access restricted content, customers must create accounts on your site during purchase.