The Official Blog for LifterLMS Contributors

  • LifterLMS Version 3.36.4

    • Fixes a conflict with CartFlows introduced by a Divi theme compatibility fix added in 3.36.3. Is WordPress complicated or what?
    Read more: LifterLMS Version 3.36.4
  • LifterLMS Version 3.36.3

    Updates
    • Added new LLMS_Membership class methods: get_categories(), get_tags() and toArrayAfter() methods. Thanks @pondermatic!
    Compatibility
    • Fixed access plan description conflicts with the Classic Editor block. This also resolves compatibility issues with Elementor which uses a hidden TinyMCE instance.
    • Changed pre_get_posts callback from 10 (default) to 15. Fixes conflict with Divi (and possibly other themes) which prevented LifterLMS catalog settings from functioning properly.
    Bugfixes
    • Added translation to error message encountered when non-members attempt to purchase a members-only access plan. Thanks @mrosati84!
    • Fix return of LLMS_Generator::set_generator().
    • Fixed a typo causing invalid imports from returning the expected error. Thanks @pondermatic!
    • Fixed issue preventing membership post type settings from saving properly due to incorrect sanitization filters.
    • Fixed issue where wp_list_pluck() would run on non arrays.
    LifterLMS Rest API 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.
    Read more: LifterLMS Version 3.36.3
  • 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.
    Read more: LifterLMS REST API Version 1.0.0-beta.8
  • 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
    Read more: LifterLMS Version 3.37.0-beta.1
  • 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.
    Read more: LifterLMS Blocks Version 1.6.0