Skip to content

Commit

Permalink
Merge pull request #2796 from gocodebox/dev
Browse files Browse the repository at this point in the history
Release 7.8.3
  • Loading branch information
brianhogg authored Nov 4, 2024
2 parents bb6d26b + d60f678 commit ef5c545
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 7 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
-------------------

Expand Down
2 changes: 1 addition & 1 deletion class-lifterlms.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ final class LifterLMS {
*
* @var string
*/
public $version = '7.8.2';
public $version = '7.8.3';

/**
* LLMS_Assets instance
Expand Down
14 changes: 12 additions & 2 deletions includes/admin/views/access-plans/access-plan.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@
</span>
</label>
<select id="_llms_plans[<?php echo esc_attr( $order ); ?>][is_free]" data-controller-id="llms-is-free" name="_llms_plans[<?php echo esc_attr( $order ); ?>][is_free]"<?php echo ( $plan ) ? '' : ' disabled="disabled"'; ?>>
<option value="yes"<?php selected( 'yes', $plan ? $plan->get( 'is_free' ) : '' ); ?>><?php esc_html_e( 'Free', 'lifterlms' ); ?></option>
<option value="no"<?php selected( 'no', $plan ? $plan->get( 'is_free' ) : true ); ?>><?php esc_html_e( 'Paid', 'lifterlms' ); ?></option>
<option value="yes"<?php selected( 'yes', $plan ? $plan->get( 'is_free' ) : '' ); ?>><?php esc_html_e( 'Free', 'lifterlms' ); ?></option>
</select>

</div>
Expand All @@ -233,7 +233,17 @@
<i class="fa fa-question-circle"></i>
</span>
</label>
<input id="_llms_plans[<?php echo esc_attr( $order ); ?>][price]" class="llms-plan-price" name="_llms_plans[<?php echo esc_attr( $order ); ?>][price]" min="<?php echo esc_attr( $price_step ); ?>" placeholder="<?php echo esc_attr( strip_tags( llms_price( 1000 ) ) ); ?>" required="required" step="<?php echo esc_attr( $price_step ); ?>" type="number"<?php echo ( $plan ? ' value="' . esc_attr( $plan->get( 'price' ) ) . '"' : ' disabled="disabled"' ); ?>>
<input
id="_llms_plans[<?php echo esc_attr( $order ); ?>][price]"
class="llms-plan-price" name="_llms_plans[<?php echo esc_attr( $order ); ?>][price]"
placeholder="<?php echo esc_attr( strip_tags( llms_price( 1000 ) ) ); ?>"
<?php if ( apply_filters( 'llms_access_plan_price_required', true, $plan ) ) : ?>
min="<?php echo esc_attr( $price_step ); ?>"
required="required"
<?php endif; ?>
step="<?php echo esc_attr( $price_step ); ?>"
type="number"<?php echo ( $plan ? ' value="' . esc_attr( $plan->get( 'price' ) ) . '"' : ' disabled="disabled"' ); ?>
>
</div>

<div class="llms-metabox-field d-1of4">
Expand Down
2 changes: 1 addition & 1 deletion lifterlms.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lifterlms",
"version": "7.8.2",
"version": "7.8.3",
"description": "LifterLMS by codeBOX",
"repository": {
"type": "git",
Expand Down

0 comments on commit ef5c545

Please sign in to comment.