Skip to content

Commit

Permalink
Merge pull request #2764 from gocodebox/dev
Browse files Browse the repository at this point in the history
Release 7.7.8
  • Loading branch information
brianhogg authored Sep 17, 2024
2 parents 316db11 + 25b9ab2 commit 57f6e7e
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 29 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
LifterLMS Changelog
===================

v7.7.8 - 2024-09-17
-------------------

##### Bug Fixes

+ Update version of the Blocks library to avoid having an unsaved changes prompt appear after updating an access plan on a course.
+ Fix for pricing display with additional formatting. [#2762](https://github.com/gocodebox/lifterlms/issues/2762)


v7.7.7 - 2024-09-12
-------------------

Expand Down
41 changes: 17 additions & 24 deletions 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.7.7';
public $version = '7.7.8';

/**
* LLMS_Assets instance
Expand Down Expand Up @@ -143,29 +143,6 @@ private function define_constants() {
define( 'LLMS_ASSETS_VERSION', ( $script_debug || $wp_debug ) ? time() : $this->version );
}

// For use in escaping and sanitizing.
llms_maybe_define_constant(
'LLMS_ALLOWED_HTML_PRICES',
array(
'div' => array(
'class' => array(),
'id' => array(),
),
'span' => array(
'class' => array(),
'id' => array(),
),
'strong' => array(
'class' => array(),
'id' => array(),
),
'sup' => array(
'class' => array(),
'id' => array(),
),
)
);

$allowed_atts = array(
'label' => true,
'align' => true,
Expand Down Expand Up @@ -274,6 +251,21 @@ private function define_constants() {
'sandbox' => true,
'sizes' => true,
);

// For use in escaping and sanitizing.
llms_maybe_define_constant(
'LLMS_ALLOWED_HTML_PRICES',
array(
'div' => $allowed_atts,
'span' => $allowed_atts,
'strong' => $allowed_atts,
'sup' => $allowed_atts,
'del' => $allowed_atts,
'ins' => $allowed_atts,
'em' => $allowed_atts,
'bdi' => $allowed_atts,
)
);
llms_maybe_define_constant(
'LLMS_ALLOWED_HTML_FORM_FIELDS',
array(
Expand All @@ -283,6 +275,7 @@ private function define_constants() {
'article' => $allowed_atts,
'b' => $allowed_atts,
'bdo' => $allowed_atts,
'bdi' => $allowed_atts,
'blockquote' => $allowed_atts,
'br' => $allowed_atts,
'cite' => $allowed_atts,
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"php": ">=7.4",
"composer/installers": "~1.9.0",
"deliciousbrains/wp-background-processing": "1.0.2",
"lifterlms/lifterlms-blocks": "2.5.7",
"lifterlms/lifterlms-blocks": "2.5.8",
"lifterlms/lifterlms-cli": "0.0.4",
"lifterlms/lifterlms-helper": "3.5.4",
"lifterlms/lifterlms-rest": "1.0.2",
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.7.7
* Version: 7.7.8
* 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.7.7",
"version": "7.7.8",
"description": "LifterLMS by codeBOX",
"repository": {
"type": "git",
Expand Down

0 comments on commit 57f6e7e

Please sign in to comment.