Fixed an issue that prevented the correct saving of the course length when using the block editor. #2426
Developer Notes
Fixed an issue running unit tests on PHP 7.4 and WordPress 6.2 expecting render_block() returning a string while we were applying a filter that returned the boolean true.
Avoid use of inline styles in course reviews. #410
Bug Fixes
Fixed “Unsaved Data” warning when adding vouchers. #2394
Fixed “Course Length” and “Difficulty” fields visible in the Block Editor which is meant for Classic Editor. #2174
Added missing $post_id parameter to the the_title filter hook when retrieving a form title. #2332
Added missing Armed Forces options to the US States dropdown in the Billing information form. #2325
Using strpos() instead of str_starts_with() for compatibility. #2415
Developer Notes
Added helper function llms_get_floats_rounding_precision() to return precision for rounding off floating values and filter hook lifterlms_floats_rounding_precision to filter precision value in reporting. #2237
Added lifterlms_dashboard_memberships_not_enrolled_text filter hook to allow altering the message displaying on the student dashboard when the current user is not enrolled in any memberships. #2396
Added lifterlms_dashboard_courses_not_enrolled_text filter hook to allow altering the message displaying on the student dashboard when the current user is not enrolled in any courses. #2396
Added an option to disable the Tainted Content Protection feature, that could conflict with some themes or plugins altering the HTML of the certificate after its loading via JavaScript.
Updates and Enhancements
When the save certificate button doesn’t include the expected icon to turn into a spinner show a “Loading…” text while creating the PDF.
Bug Fixes
Fixed compatibility with BuddyBoss theme when trying to download a certificate’s PDF.