Skip to content

Commit

Permalink
Changelog and verison numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
dparker1005 committed Aug 14, 2024
1 parent 8efc46a commit ea42204
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
4 changes: 2 additions & 2 deletions adminpages/limitpostviews.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* Display non-member limits section.
*
* @since TBD
* @since 1.0.1
*/
function pmprolpv_settings_section_non_member_limits() { ?>
<div id="pmprolpv-non-member-limits" class="pmpro_section_toggle" data-visibility="hidden" data-activated="false">
Expand All @@ -35,7 +35,7 @@ function pmprolpv_settings_section_non_member_limits() { ?>
/**
* Display member limits section.
*
* @since TBD
* @since 1.0.1
*/
function pmprolpv_settings_section_member_limits() { ?>
<div id="pmprolpv-member-limits" class="pmpro_section_toggle" data-visibility="hidden" data-activated="false">
Expand Down
4 changes: 2 additions & 2 deletions pmpro-limit-post-views.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Paid Memberships Pro - Limit Post Views Add On
* Plugin URI: https://www.paidmembershipspro.com/add-ons/pmpro-limit-post-views/
* Description: Integrates with Paid Memberships Pro to limit the number of times members and visitors can view posts on your site.
* Version: 1.0
* Version: 1.0.1
* Author: Paid Memberships Pro
* Author URI: https://www.paidmembershipspro.com
* Text Domain: pmpro-limit-post-views
Expand All @@ -13,7 +13,7 @@
define( 'PMPROLPV_BASE_FILE', __FILE__ );
define( 'PMPROLPV_BASENAME', plugin_basename( __FILE__ ) );
define( 'PMPROLPV_DIR', dirname( __FILE__ ) );
define( 'PMPROLPV_VERSION', '1.0' );
define( 'PMPROLPV_VERSION', '1.0.1' );

require_once( PMPROLPV_DIR . '/includes/functions.php' ); // Common functions.
require_once( PMPROLPV_DIR . '/includes/admin.php' ); // Settings page.
Expand Down
10 changes: 9 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Contributors: strangerstudios
Tags: paid memberships pro, pmpro, nytimes, new york times, post limits, limit, posts
Requires at least: 4.0
Tested up to: 6.3
Tested up to: 6.6
Stable tag: 1.0

Integrates with Paid Memberships Pro to limit the number of times non-members can view posts on your site.
Expand Down Expand Up @@ -30,6 +30,14 @@ Please post it in the GitHub issue tracker here: https://github.com/strangerstud
Please visit our premium support site at http://www.paidmembershipspro.com for more documentation and our support forums.

== Changelog ==
= 1.0.1 - 2024-08-14 =
* ENHANCEMENT: Updated the settings page UI to highlight non-member limits as the plugin's primary feature. #59 (@kimcoleman)
* ENHANCEMENT: Improved compatibility with other Add Ons that restrict post content based on criteria other than membership level. #64 (@dparker1005)
* BUG FIX/ENHANCEMENT: Improved data validation when pulling view data from the Limit Post Views cookie. #63 (@michaelbourne)
* BUG FIX: Fixed a JavaScript error that may have shown in the console. #59 (@kimcoleman)
* BUG FIX: Fixed the text domain for some strings. #59 (@kimcoleman)
* BUG FIX: Fixed a PHP error when viewing the plugin action links without the "manage_options" capability. #66 (@dwanjuki)

= 1.0 - 2024-06-06 =
* FEATURE: Custom JavaScript can now be run when LPV is granting access to restricted content using the `pmprolpv_allow_view_js` filter.
* FEATURE: Custom JavaScript can now be run when LPV is denying access to content using the `pmprolpv_deny_view_js` filter.
Expand Down

0 comments on commit ea42204

Please sign in to comment.