From eba1964f469d34d1acabe6c4acb93bf55193dd90 Mon Sep 17 00:00:00 2001 From: Brian Hogg Date: Mon, 4 Nov 2024 09:47:42 -0500 Subject: [PATCH 1/2] Switch plan type to Paid by default, allow price to be optional (#2795) --- .../fix_filter-on-access-plan-price-required.yml | 5 +++++ includes/admin/views/access-plans/access-plan.php | 14 ++++++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 .changelogs/fix_filter-on-access-plan-price-required.yml diff --git a/.changelogs/fix_filter-on-access-plan-price-required.yml b/.changelogs/fix_filter-on-access-plan-price-required.yml new file mode 100644 index 0000000000..b475c83944 --- /dev/null +++ b/.changelogs/fix_filter-on-access-plan-price-required.yml @@ -0,0 +1,5 @@ +significance: patch +type: changed +links: + - "#2794" +entry: Switches new access plans to Paid by default in the new access plan UI. diff --git a/includes/admin/views/access-plans/access-plan.php b/includes/admin/views/access-plans/access-plan.php index 410f91ae3f..7396d1b178 100644 --- a/includes/admin/views/access-plans/access-plan.php +++ b/includes/admin/views/access-plans/access-plan.php @@ -216,8 +216,8 @@ @@ -233,7 +233,17 @@ - > + + min="" + required="required" + + step="" + type="number"get( 'price' ) ) . '"' : ' disabled="disabled"' ); ?> + >
From d60f678344b8c542549f51e0fbe29d9f4f58e1d6 Mon Sep 17 00:00:00 2001 From: Brian Hogg Date: Mon, 4 Nov 2024 10:36:40 -0500 Subject: [PATCH 2/2] Build for 7.8.3. --- .changelogs/fix_filter-on-access-plan-price-required.yml | 5 ----- CHANGELOG.md | 8 ++++++++ class-lifterlms.php | 2 +- lifterlms.php | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 6 files changed, 13 insertions(+), 10 deletions(-) delete mode 100644 .changelogs/fix_filter-on-access-plan-price-required.yml diff --git a/.changelogs/fix_filter-on-access-plan-price-required.yml b/.changelogs/fix_filter-on-access-plan-price-required.yml deleted file mode 100644 index b475c83944..0000000000 --- a/.changelogs/fix_filter-on-access-plan-price-required.yml +++ /dev/null @@ -1,5 +0,0 @@ -significance: patch -type: changed -links: - - "#2794" -entry: Switches new access plans to Paid by default in the new access plan UI. diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d075148c7..fb1e3709fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,14 @@ LifterLMS Changelog =================== +v7.8.3 - 2024-11-04 +------------------- + +##### Updates and Enhancements + ++ Switches new access plans to Paid by default in the new access plan UI. [#2794](https://github.com/gocodebox/lifterlms/issues/2794) + + v7.8.2 - 2024-10-31 ------------------- diff --git a/class-lifterlms.php b/class-lifterlms.php index ad521c5c17..8e505dcde3 100644 --- a/class-lifterlms.php +++ b/class-lifterlms.php @@ -34,7 +34,7 @@ final class LifterLMS { * * @var string */ - public $version = '7.8.2'; + public $version = '7.8.3'; /** * LLMS_Assets instance diff --git a/lifterlms.php b/lifterlms.php index f6564a3e16..8aa5de803b 100644 --- a/lifterlms.php +++ b/lifterlms.php @@ -10,7 +10,7 @@ * Plugin Name: LifterLMS * Plugin URI: https://lifterlms.com/ * Description: Complete e-learning platform to sell online courses, protect lessons, offer memberships, and quiz students. WP Learning Management System. - * Version: 7.8.2 + * Version: 7.8.3 * Author: LifterLMS * Author URI: https://lifterlms.com/ * Text Domain: lifterlms diff --git a/package-lock.json b/package-lock.json index 63684c0dde..8abf87874e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "lifterlms", - "version": "7.8.2", + "version": "7.8.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "lifterlms", - "version": "7.8.2", + "version": "7.8.3", "license": "GPL-3.0", "dependencies": { "@babel/core": "^7.16.5", diff --git a/package.json b/package.json index 4a7f833b78..a8d4dbafba 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lifterlms", - "version": "7.8.2", + "version": "7.8.3", "description": "LifterLMS by codeBOX", "repository": { "type": "git",