4.20.2

2025-02-12 Feature1 Fix8 Tweak8

Features

  • Added a Terms and Privacy setting that forces users to accept the custom defined terms/privacy during registration.

Fixes

  • Resolved an issue where after incorrectly entering your license information in the Setup Wizard, entering the correct license information would fail.
  • Login modal could not be displayed on LearnDash course, lesson, topic, and quiz category archive pages via [learndash_login] shortcode.
  • Updated Modern registration templates in order to properly handle scenarios where coupons that would bring the price to 0 would incorrectly still send the user to the payment gateway for payment.
  • Added a missing label on the admin user profile screen for the quiz lock removing setting.
  • Updated broken links on the Help page.
  • Fixed LearnDash course info shortcode's course points value output.
  • Updated mobile styles for the LearnDash -> Help page.
  • Fixed translation files priority order to ensure globally installed translations are loaded correctly.

Tweaks

  • Improved accessibility for expandable items.
  • Improved accessibility related to the color contrast of various elements throughout Courses.
  • Improved accessibility when buttons within Courses receive focus.
  • Improved accessibility for tabbed content within Courses.
  • Added actions: learndash_coupon_after_redemption, learndash_coupon_before_redemption, learndash_coupon_user_enrolled_with_zero_price.
  • Added filters: learndash_coupon_attached_data, learndash_coupon_check_is_valid, learndash_coupon_discounted_price, learndash_coupon_exists_and_is_active, learndash_coupon_get_by_code, learndash_coupon_is_attached_to_product, learndash_coupon_to_attach.
  • Updated functions: learndash_get_course_points_access, learndash_get_course_points_enabled, learndash_get_course_points, learndash_get_course_prerequisite_enabled, learndash_validate_hub_license.
  • Updated templates: themes/ld30/templates/course.php, themes/ld30/templates/focus/comments.php, themes/ld30/templates/group.php, themes/ld30/templates/group/partials/course-row.php, themes/ld30/templates/lesson/listing.php, themes/ld30/templates/lesson/partials/row.php, themes/ld30/templates/modules/tabs.php, themes/ld30/templates/shortcodes/course_content_shortcode.php, themes/ld30/templates/shortcodes/group_content_shortcode.php, themes/ld30/templates/shortcodes/groups/row.php, themes/ld30/templates/shortcodes/profile.php, themes/ld30/templates/shortcodes/profile/course-row.php, themes/ld30/templates/shortcodes/profile/search.php, themes/ld30/templates/widgets/course-navigation.php, themes/ld30/templates/widgets/navigation/lesson-row.php.