The Official Blog for LifterLMS Contributors
June 7, 2023
Updates and Enhancements
Don’t use lifterlms shortcodes in single lesson, assignment, and quiz templates in favore of new lifterlms blocks.
Minimum LifterLMS version required for correct operation is 7.2.0.
Updated Templates
templates/404.html
templates/archive.html
templates/full-width.html
templates/index.html
templates/search.html
templates/single-lesson.html
templates/single-llms_assignment.html
templates/single-llms_quiz.html
templates/single.html
Read more: Sky Pilot Theme Version 1.2.0
June 7, 2023
New Features
Added LLMS_ASSETS_VERSION
constant for cache busting.
Add course builder explainer video and lesson IDs.
Add new dashboard widget.
Added query to remove order comments on plugin uninstall when the constant LLMS_REMOVE_ALL_DATA
is set to true
. #2322
Added support for showing multiple difficulties when using Gutenberg Editor. #2433
Add shortcode wrapper blocks.
Added new navigation link block.
Added llms_is_editor_block_rendering
helper function.
Added llms_is_block_editor
helper function.
Updates and Enhancements
Adjusted llms_modify_dashboard_pagination_links_disable
filter to return false only on Dashboard page.
Updates LifterLMS REST to v1.0.0-beta.27 .
Raised the minimum support WordPress core version to 5.9.
Updates LifterLMS Blocks to 2.5.0 .
Bug Fixes
Fixed LifterLMS specific block templates not correctly working on Windows file system.
Added function_exists
check for llms_blocks_is_post_migrated()
.
Update so dismissed notifications don’t remain on viewport top layer.
Made sure to always enqueue iziModal assets when rendering achievements cards.
Developer Notes
Added new filter hook llms_builder_settings
to filter the settings passed to the course builder.
Updated Templates
Read more: LifterLMS Version 7.2.0
June 7, 2023
New Features
Added LLMS_ASSETS_VERSION
constant for cache busting.
Add course builder explainer video and lesson IDs.
Add new dashboard widget.
Added query to remove order comments on plugin uninstall when the constant LLMS_REMOVE_ALL_DATA
is set to true
. #2322
Added support for showing multiple difficulties when using Gutenberg Editor. #2433
Add shortcode wrapper blocks.
Added new navigation link block.
Added llms_is_editor_block_rendering
helper function.
Added llms_is_block_editor
helper function.
Updates and Enhancements
Adjusted llms_modify_dashboard_pagination_links_disable
filter to return false only on Dashboard page.
Updates LifterLMS REST to v1.0.0-beta.27 .
Raised the minimum support WordPress core version to 5.9.
Updates LifterLMS Blocks to 2.5.0 .
Bug Fixes
Fixed LifterLMS specific block templates not correctly working on Windows file system.
Added function_exists
check for llms_blocks_is_post_migrated()
.
Update so dismissed notifications don’t remain on viewport top layer.
Made sure to always enqueue iziModal assets when rendering achievements cards.
Developer Notes
Added new filter hook llms_builder_settings
to filter the settings passed to the course builder.
Updated Templates
Read more: LifterLMS Version 7.2.0
June 6, 2023
New Features
Replaced font-based block icons with SVG icons.
Updates and Enhancements
Changes to Launch Course Builder buttons and Course Builder meta-box.
Update default icon color to currentColor
.
Updated minimum LifterLMS core version to 7.2.0.
Bug Fixes
Fixed issue when new Course/Membership visibility options were added via JS filter hook. #190
Developer Notes
Deprecated LLMSBlocks CourseSyllabus Block class. The Syllabus Block is now implemented in the LifterLMS core plugin.
Read more: LifterLMS Blocks Version 2.5.0
May 31, 2023
Updates and Enhancements
Replaced use of deprecated strftime()
.
Replaced use of the deprecated FILTER_SANITIZE_STRING
constant.
Developer Notes
Fixed unit tests on WordPress 6.2.
Allow all the resources to be extended using register_rest_field()
. #157
Added the ability for all the WP_Post
and WP_User
based resources to manage custom meta registered via register_meta()
. #157
Added llms_rest_{$object_type}_item_schema
that will allow filtering any resource schema. Additional schema fields, added via register_rest_field()
, are not included. #157
Added llms_rest_allow_filtering_{$object_type}_item_schema_to_add_fields
filter hook. It allows adding additional fields using the filter hook llms_rest_{$object_type}_item_schema
without warnings. By default additional fields should be added via register_rest_field()
. #157
Deprecated llms_rest_enrollments_item_schema
and llms_rest_membership_item_schema
filter hooks in favor of llms_rest_$object_type_item_schema
where the object type is, respectively, equal to ‘students-enrollments’ and ‘llms-membership’. #157
Cache results of getitem schema on controller instances for performance. Additional schema fields, added via register_rest_field()
, are not cached. #73
Read more: LifterLMS REST API Version 1.0.0-beta.27