Strenghtened the “members only” products purchase prevention.
Updates and Enhancements
Replaced use of the deprecated FILTER_SANITIZE_STRING constant.
Improved compatibility with blockified WooCommerce templates.
Bug Fixes
Fixed an issue with the Divi builder when using the Divi module Woo Product Meta on a non product page.
Developer Notes
New methods added: LLMS_WC_Availability_Buttons::maybe_modify_blockified_add_to_cart_form(), LLMS_WC_Availability_Buttons::maybe_modify_blockified_product_grid_item(), LLMS_WC_Availability_Buttons::maybe_modify_blockified_loop_product_add_to_cart_link().
Added new function llms_wc_is_members_only_wc_product_restricted_for_user, to determine whether a product is only available for members only users and the current use can buy it.
The LifterLMS Core minimum required version has been raised to version 5.9.0.
Added filters llms_wc_user_can_buy_members_only_wc_product and llms_wc_user_not_already_enrolled_into_related_llms_products.
The minimum WordPress supported version is now 5.8, while the minimum WooCommerce supported version has been raised to 6.7.
When a notice is shown for an access plan on the course edit screen (e.g. When using the WooCommerce integration and no product has been associated to the access plan.) Also display a warning icon next to the access plan title.
Made sure only who can view_others_lifterlms_reports will be able to see the analytics widget content in the WordPress admin.
Better rounding of float values on some reporting screens.
Avoid creating a post revision when cloning a course/lesson.
When creating pages via llms_create_pages(): strip all tags from the page title and slash the page data prior to inserting the page in the db via wp_insert_post() to prevent slashes from being stripped from the page title.
Updated the WordPress tested version up to 6.3.
Improved compatibility with the Divi theme by fixing an issue with the quiz attempt result clarifications not being visible when the Divi option Defer jQuery And jQuery Migrate was enabled. #2470
Bug Fixes
Fix spacer block when creating new certificate templates in WP 6.3.
Fixed PHP Warning when no course/membership catalog page was set or if the selected page doesn’t exist anymore. #2496
Don’t include WordPress default sidebar.php template when using a block theme. #2488
Students can now remove the profile and header images once set.
Bug Fixes
Fix for not found ajax nonce to restores the instructor select2 search in the sidebar for timeline.
Fixed issue with profile URL in llms/navigation-link block.
Developer Notes
Changed the nonce field name from llms-sl-upload-nonce to llms-sl-profile-image-nonce and the action name from llms_sl_upload to llms_sl_profile_image.
Security Improvements
Correctly escaped the HTML when rendering localized strings in all of the template files.