Release Notes

LifterLMS REST API Version 1.0.0-beta.8

  • Return links to those taxonomies which have an accessible rest route.
  • Initialize $prepared_item array before adding values to it. Thanks @pondermatic!
  • Fixed sales_page_type not returned as none if course’s sales_page_content_type property is empty.
  • Load webhook actions a little bit later, to avoid PHP warnings on first plugin activation.
  • Renamed sales_page_page_type and sales_page_page_url properties, respectively to sales_page_type and sales_page_url according to the specs.
  • Add missing quotes in enrollment/access default messages shortcodes.
  • Call set_bulk() llms post method passing true as second parameter, so to instruct it to return a WP_Error on failure.
  • Add missing quotes in enrollment/access default messages shortcodes.
  • sales_page_page_id and sales_page_url always returned in edit context.
  • Call set_bulk() llms post method passing true as second parameter, so to instruct it to return a WP_Error on failure.

LifterLMS Version 3.37.0-beta.1

Form Management Improvments
  • Forms (registration, checkout, account) are now managed via a block editor interface.
  • Customize field labels, description, and placeholders in a simple WYSIWYG interface.
  • Mark fields as required with a toggle.
  • Reorder fields with drag and drop.
  • Customize layout using block editor columns
  • Use LifterLMS block-level visibility to conditionally display fields based on enrollment or logged in status.
Form Localization
  • Added default country and state/region lists (see the “languages” directory).
  • Country and state forms are now searchable dropdowns that adjusted based on the currently selected country.
  • Each country’s locale information (such as what a “post code” is called and whether or not the country has states or post codes) will update automatically based on the selected country.
  • Enqueue select2 on account and checkout pages for searchable dropdowns for country & state.
Updates
  • New shortcode [user] which is used to output user information in a merge code interface.
  • Improved form field generation via LLMS_Form_Field class.
  • LifterLMS Settings: renamed “User Information Options” to “User Privacy Options”.
  • Reorganized open registration setting.
  • Use LLMS.wait_for() for dependency waiting.
  • Moved checkout template variable declarations to the checkout shortcode controller.
  • Removed field display settings in favor of form customization using the form editors.
  • Organized function files. Some functions have been moved.
  • Function llms_get_minimum_password_strength_name() now accepts a parameter to retrieve strength name by key.
  • Use LLMS.wait_for() for dependency waiting.
LifterLMS Blocks v1.6.0
  • Feature: Added form field blocks for use on the Forms manager.
  • Feature: Add logic for logged_in and logged_out block visibility options.
  • Update: Added isDisabled property to Search component.
  • Update: Adjusted priority of render_block filter to 20.
  • Bug fix: Import InspectorControls from wp.blockEditor in favor of deprecated wp.editor
  • Bug fix: Automatically store course/membership instructor with post_author data when the post is created.
  • Bug fix: Pass style rules as camelCase.
Removed unused Javascript assets
  • Remove unused bootstrap transiton and collapse scripts.
  • Remove topModal vendor dependency.
  • Remove password strength inline enqueues.
Bug fixes
  • Only attempt to add a nonce to the datastore when a nonce exists in the settings object.
Deprecations
  • Deprecated LLMS_Person_Handler::register() method, use llms_register_user() instead.
  • Deprecated llms_get_minimum_password_strength() with no replacement.
Template Updates
  • templates/checkout/form-checkout.php
  • templates/checkout/form-gateways.php
  • templates/global/form-registration.php

LifterLMS Blocks Version 1.6.0

  • Feature: Added form field blocks for use on the Forms manager.
  • Feature: Add logic for logged_in and logged_out block visibility options.
  • Update: Added isDisabled property to Search component.
  • Update: Adjusted priority of render_block filter to 20.
  • Bug fix: Import InspectorControls from wp.blockEditor in favor of deprecated wp.editor
  • Bug fix: Automatically store course/membership instructor with post_author data when the post is created.
  • Bug fix: Pass style rules as camelCase.

LifterLMS Version 3.36.2

Updates
  • Tested to WordPress 5.3.0-beta.2
  • Upgrade UI on student course reporting screens.
  • Added logic to physically remove from the membership level and remove enrollments data on related products, when deleting a membership enrollment.
  • Lesson metabox “start” drip method made available only if the parent course has a start date set.
Bugfixes
  • Fixed JS error when client-side event tracking settings aren’t loaded, thanks @wenchen!
  • Fixed PHP warning resulting from drip the “Course Start” lesson drip settings when no course start date exists.
  • Fixed fatal error encountered when reviewing an order placed with a payment gateway that’s been deactivated.
Files Updated
  • assets/js/app/llms-tracking.js
  • includes/admin/post-types/meta-boxes/class.llms.meta.box.lesson.php
  • includes/models/model.llms.lesson.php
  • includes/models/model.llms.student.php
  • lifterlms.php
Templates Updated
  • templates/admin/post-types/order-details.php
  • templates/admin/reporting/tabs/students/courses-course.php

LifterLMS REST API Version 1.0.0-beta.7

Updates
  • Added the following properties to the lesson schema and response object: drip_date, drip_days, drip_method, public, quiz.
  • Added the following links to lesson objects: prerequisite and quiz.
  • Use WP_Error::$errors in place of WP_Error::has_errors() to support WordPress version prior to 5.1.
  • Added llms_rest_lesson_item_schema, llms_rest_pre_insert_lesson, llms_rest_prepare_lesson_object_response, llms_rest_lesson_links filter hooks.
  • Course properties access_opens_date, access_closes_date, enrollment_opens_date, enrollment_closes_date are now nullable.
  • Course properties prerequisite and prerequisite_track can be be cleared (set to 0 to signify no prerequisite exists).
  • Added prerequisite validation for courses, if prerequisite is not a valid course the course prerequisite will be set to 0 and if prerequisite_track is not a valid course track, the course prerequisite_track will be set to 0.
Bug Fixes
  • Fixed lesson siblings link that was using the parent course’s id instead of the parent section’s id.
  • Fixed lesson parent link href, replacing ‘section’ with ‘sections’.
  • Fixed lesson progression callback name when defining the filters to be removed while preparing the item for response.
  • Fixed description of the post_id path parameter for student enrollments resources. Thanks @pondermatic.
  • Fixed section parent course object retrieval method when building the resource links.