Prevented the output of JavaScript that hides a variable product’s “add to cart” button when multiple products are being displayed. Fixes an issue with related products created with Elementor Pro.
Fixed an issue that prevented a manual change of the subscription status to trigger the student enrollment/unenrollment into the linked course/membership.
Deprecations
Action lifterlms_created_person is deprecated in favor of lifterlms_user_registered.
Fixes a bug encountered when using Astra Pro with members only products resulting in the Add to Cart button being
incorrectly displayed along with the members only button, or the members only button displayed twice, in single products.
Fixes a bug with course access plans, connected to members only products, resulting in their checkout button pointing
to the LifterLMS checkout page even when plans were available for the buyer.
Fixes a bug encountered when using the Astra theme and members only products resulting in the Add to Cart button being
incorrectly displayed along with the members only button in shop loops.
Fixes a bug encountered when using members only products resulting in the members only button not pointing to the
restring Membership.
Fixes an edge case encountered when a limited access plan expired after the related order was deleted resulting in a
PHP fatal error.
Fixes a bug encountered when enrolling a student in a course/membership directly from the WooCommerce Subscription order
screen that would prevent the automatic user un-enrollment on WooCommerce Subscription order expiration/cancellation.
Add action hooks to handle the cases when a product/variation is deleted linked to an access plan are deleted and handle the cases when an access plan is not linked to any product/variation.
Added logic to delete enrollments on order permanent deletion, and unenroll/enroll students on order or subscription trashing/untrashing.
Fixed an issue that made users to be unenrolled from a course when a subscription, that was part of the same wc order of the course, was ‘cancelled’.
Made sure that user enrollment/unenrollment related to a subscription happened only on the subscription status changes and not on their parent order status changes.
Use gmdate() in favor of date() for timestamps recorded to logs.