Skip to content

Commit

Permalink
Build for 8.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhogg committed Jan 20, 2025
1 parent 92df405 commit 84636e0
Show file tree
Hide file tree
Showing 34 changed files with 76 additions and 104 deletions.
4 changes: 0 additions & 4 deletions .changelogs/access-plan-popup.yml

This file was deleted.

4 changes: 0 additions & 4 deletions .changelogs/access-plans-ui-update-2.yml

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions .changelogs/allow-more-html-in-quiz-question.yml

This file was deleted.

5 changes: 0 additions & 5 deletions .changelogs/beaver-builder.yml

This file was deleted.

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions .changelogs/fix_add-purchase-link-to-access-plan.yml

This file was deleted.

6 changes: 0 additions & 6 deletions .changelogs/fix_llms-posts-select2-improvements.yml

This file was deleted.

5 changes: 0 additions & 5 deletions .changelogs/fix_mailhawk-errors.yml

This file was deleted.

6 changes: 0 additions & 6 deletions .changelogs/fix_translation-unloading.yml

This file was deleted.

5 changes: 0 additions & 5 deletions .changelogs/fix_wrapping-buttons.yml

This file was deleted.

5 changes: 0 additions & 5 deletions .changelogs/lesson-preview-favorite-accessibility.yml

This file was deleted.

3 changes: 0 additions & 3 deletions .changelogs/password-toggle.yml

This file was deleted.

3 changes: 0 additions & 3 deletions .changelogs/pricing-on-catalogs.yml

This file was deleted.

3 changes: 0 additions & 3 deletions .changelogs/syllabus-lesson-has-quiz-assignment.yml

This file was deleted.

46 changes: 46 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,52 @@
LifterLMS Changelog
===================

v8.0.0 - 2025-01-20
-------------------

##### New Features

+ New popup when adding an Access Plan with templates to help set options quickly.
+ Adds support for Beaver Builder for Courses, Memberships and Lessons. [#2761](https://github.com/gocodebox/lifterlms/issues/2761)
+ Ability to show typed password for verification on the Student Dashboard login form.
+ Adds new "Featured Pricing Information" setting for Courses and Memberships.
+ Showing 'Has Quiz' or 'Has Assignment' in the Course Syllabus.

##### Updates and Enhancements

+ Improved accessibility of various front-end and back-end UIs including the Access Plans metaboxes to use proper labels and screen reader text where needed.
+ Allow lesson access based on enrollment drip setting with Course Start Date set. [#2843](https://github.com/gocodebox/lifterlms/issues/2843)
+ Course Information header is now h2 instead of h3 by default, for accessibility in heading order.
+ Adding purchase checkout link to the access plan header as an icon. [#2793](https://github.com/gocodebox/lifterlms/issues/2793)
+ Accessibility updates for lesson favorite and write a review forms. [#2852](https://github.com/gocodebox/lifterlms/issues/2852)

##### Bug Fixes

+ Allow additional shortcodes like [audio] within the description (content) of a quiz question.
+ Can now deactivate the Confirmation field for blocks like E-mail address and Password in forms. [#2646](https://github.com/gocodebox/lifterlms/issues/2646)
+ Fix SendWP connect button. [#2792](https://github.com/gocodebox/lifterlms/issues/2792)
+ Avoid unloading the textdomain for core translations in case the lifterlms textdomain is used before init (WP 6.7). [#2807](https://github.com/gocodebox/lifterlms/issues/2807)
+ Avoid wrapping of the text of buttons. [#2820](https://github.com/gocodebox/lifterlms/issues/2820)

##### Developer Notes

+ Improved llmsPostsSelect2 method when called on multiple elements at once, each with different options. [#2805](https://github.com/gocodebox/lifterlms/issues/2805)

##### Updated Templates

+ [templates/course/favorite.php](https://github.com/gocodebox/lifterlms/blob/8.0.0/templates/course/favorite.php)
+ [templates/course/lesson-preview.php](https://github.com/gocodebox/lifterlms/blob/8.0.0/templates/course/lesson-preview.php)
+ [templates/global/form-login.php](https://github.com/gocodebox/lifterlms/blob/8.0.0/templates/global/form-login.php)
+ [templates/global/form-registration.php](https://github.com/gocodebox/lifterlms/blob/8.0.0/templates/global/form-registration.php)
+ [templates/loop/featured-pricing.php](https://github.com/gocodebox/lifterlms/blob/8.0.0/templates/loop/featured-pricing.php)
+ [templates/myaccount/form-edit-account.php](https://github.com/gocodebox/lifterlms/blob/8.0.0/templates/myaccount/form-edit-account.php)
+ [templates/myaccount/form-redeem-voucher.php](https://github.com/gocodebox/lifterlms/blob/8.0.0/templates/myaccount/form-redeem-voucher.php)
+ [templates/notifications/basic.php](https://github.com/gocodebox/lifterlms/blob/8.0.0/templates/notifications/basic.php)
+ [templates/product/access-plan-button.php](https://github.com/gocodebox/lifterlms/blob/8.0.0/templates/product/access-plan-button.php)
+ [templates/product/free-enroll-form.php](https://github.com/gocodebox/lifterlms/blob/8.0.0/templates/product/free-enroll-form.php)
+ [templates/quiz/questions/description.php](https://github.com/gocodebox/lifterlms/blob/8.0.0/templates/quiz/questions/description.php)


v7.8.7 - 2024-12-17
-------------------

Expand Down
2 changes: 1 addition & 1 deletion assets/js/llms-metabox-options.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* JS for the Course and Membership metabox options
*
* @since [version]
* @since 8.0.0
*/

( function( $ ){
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.7';
public $version = '8.0.0';

/**
* LLMS_Assets instance
Expand Down
2 changes: 1 addition & 1 deletion includes/abstracts/llms-abstract-email-provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ public function ajax_callback_remote_install() {
/**
* Ajax callback called after doing the initial install, so the plugin is loaded and available.
*
* @since [version]
* @since 8.0.0
*
* @return void
*/
Expand Down
2 changes: 1 addition & 1 deletion includes/admin/class.llms.admin.assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ public static function register_quill( $modules = array() ) {
/**
* Register the accessible dialog JS
*
* @since [version]
* @since 8.0.0
*
* @return void
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @package LifterLMS/Admin/PostTypes/MetaBoxes/Fields/Classes
*
* @since [version]
* @since 8.0.0
*/

defined( 'ABSPATH' ) || exit;
Expand Down
2 changes: 1 addition & 1 deletion includes/admin/views/access-plans/access-plan-dialog.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class="llms-dialog-container"
/**
* Action hook fired after access plan's dialog box pre-sale option.
*
* @since [version]
* @since 8.0.0
*/
do_action( 'llms_access_plan_dialog_after_pre_sale' );
?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @package LifterLMS_Labs/Labs/BeaverBuilder/Modules/CourseContinueButton/Classes
*
* @since [version]
* @since 8.0.0
*/

defined( 'ABSPATH' ) || exit;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @package LifterLMS_Labs/Labs/BeaverBuilder/Modules/MembershipInstructors/Classes
*
* @since [version]
* @since 8.0.0
*/

defined( 'ABSPATH' ) || exit;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @package LifterLMS_Labs/Labs/BeaverBuilder/Modules/MembershipInstructors/Templates
*
* @since [version]
* @since 8.0.0
*
* @param $settings obj Beaver Builder module settings instance.
*/
Expand Down
18 changes: 9 additions & 9 deletions includes/class-llms-beaver-builder-migrate.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @package LifterLMS/Classes
*
* @since [version]
* @since 8.0.0
*/

defined( 'ABSPATH' ) || exit;
Expand All @@ -21,7 +21,7 @@ public function __construct() {
/**
* Migrate posts created prior to the elementor updates to have default LifterLMS widgets.
*
* @since [version]
* @since 8.0.0
*
* @return void
*/
Expand Down Expand Up @@ -88,7 +88,7 @@ public function add_template_to_post() {
/**
* Removes core template action hooks from posts which have been migrated to beaver builder widgets.
*
* @since [version]
* @since 8.0.0
*
* @return void
*/
Expand Down Expand Up @@ -123,7 +123,7 @@ public function remove_template_hooks() {
/**
* Remove membership template hooks.
*
* @since [version]
* @since 8.0.0
*/
public function remove_membership_template_hooks() {
remove_action( 'lifterlms_single_membership_after_summary', 'lifterlms_template_pricing_table', 10 );
Expand All @@ -132,7 +132,7 @@ public function remove_membership_template_hooks() {
/**
* Remove lesson template hooks.
*
* @since [version]
* @since 8.0.0
*/
public function remove_lesson_template_hooks() {
remove_action( 'lifterlms_single_lesson_after_summary', 'lifterlms_template_complete_lesson_link', 10 );
Expand All @@ -141,7 +141,7 @@ public function remove_lesson_template_hooks() {
/**
* Remove course template hooks.
*
* @since [version]
* @since 8.0.0
*
* @return void
*/
Expand All @@ -163,7 +163,7 @@ public function remove_course_template_hooks() {
/**
* Determine if a post should be migrated.
*
* @since [version]
* @since 8.0.0
*
* @param int $post_id WP_Post ID.
* @return bool
Expand All @@ -175,7 +175,7 @@ public function should_migrate_post( $post_id ) {
/**
* Filters whether or not a post should be migrated
*
* @since [version]
* @since 8.0.0
*
* @param bool $migrate Whether or not a post should be migrated.
* @param int $post_id WP_Post ID.
Expand All @@ -186,7 +186,7 @@ public function should_migrate_post( $post_id ) {
/**
* Update post meta data to signal status of the editor migration.
*
* @since [version]
* @since 8.0.0
*
* @param int $post_id WP_Post ID.
* @param bool $publish Whether or not the post is being published.
Expand Down
4 changes: 2 additions & 2 deletions includes/class-llms-beaver-builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* @package LifterLMS/Classes
*
* @since [version]
* @since 8.0.0
*/

defined( 'ABSPATH' ) || exit;
Expand Down Expand Up @@ -78,7 +78,7 @@ public function enable_post_types_by_default( $types ) {
*
* Stub function called during install.
*
* @since [version]
* @since 8.0.0
*
* @return void
*/
Expand Down
2 changes: 1 addition & 1 deletion includes/llms.template.functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1188,7 +1188,7 @@ function llms_is_elementor_post( $post_id = false ) {
/**
* Function to check if a post is built with Beaver Builder
*
* @since [version]
* @since 8.0.0
*/
if ( ! function_exists( 'llms_is_beaver_builder_post' ) ) {
function llms_is_beaver_builder_post( $post_id = false ) {
Expand Down
4 changes: 2 additions & 2 deletions includes/models/model.llms.access.plan.php
Original file line number Diff line number Diff line change
Expand Up @@ -547,8 +547,8 @@ public function get_product_type() {
* @param boolean $verbose If true, the text will be verbose and include the plan name for accessibility.
* @return string
* @since 3.0.0
* @since [version] Added $verbose parameter.
* @version [version]
* @since 8.0.0 Added $verbose parameter.
* @version 8.0.0
*/
public function get_enroll_text( $verbose = false ) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* @package LifterLMS/Shortcodes/Classes
*
* @since [version]
* @since 8.0.0
*/

defined( 'ABSPATH' ) || exit;
Expand All @@ -35,7 +35,7 @@ class LLMS_Shortcode_Membership_Instructors extends LLMS_Shortcode {
* output is filtered so the return of get_output() doesn't need its own filter
*
* @return string
* @since [version]
* @since 8.0.0
*/
protected function get_output() {
if ( 'llms_membership' !== get_post_type( get_the_ID() ) ) {
Expand All @@ -54,7 +54,7 @@ protected function get_output() {
* with the user submitted attributes and passed to $this->get_output()
*
* @return array
* @since [version]
* @since 8.0.0
*/
protected function get_default_attributes() {
return array();
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.7
* Version: 8.0.0
* 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.

Loading

0 comments on commit 84636e0

Please sign in to comment.