LearnDash LMS
Fixes
- Fixed missing quiz points in the activity report widget.
- Resolved an issue where a white screen could be shown when editing LearnDash content types while running a Beta or Nightly WordPress version.
- Fixed quiz admin notification email was not sent out after a user completes a quiz even though the mail to addresses are set in the global quiz settings.
- Fixed an incorrect call of a function in the Quiz feature.
- Resolved an issue where a message from the quiz setting "Message after Essay is submitted" was not showing on empty answer.
- Resolved an issue where the required field message for Quiz Custom Fields would not show correctly for Number, Text, Email, and Date fields.
- Resolved an issue where the message field for correct and incorrect question answers in the quiz builder could not be switched to text mode.
- Resolved an issue where the question setting values in the quiz builder would not persist after the question was saved.
- Resolved an issue where Courses that have not been started yet would not show when using the
[ld_course_list]shortcode. - Resolved an issue where "Not Started" results could not be returned as expected under LearnDash LMS -> Reports.
Tweaks
- Improved the UX of the quiz template saving process on the LearnDash quiz edit page.
- Improved headers accessibility on the quiz page in the focus mode.
- Support StellarSites license key authorization.
- Improved accessibility for the progress indicator.
- Improved accessibility for Required Custom Fields in Quizzes.
- Improved accessibility for alerts shown for reached points in Quizzes.
- Improved accessibility for question text and answer options.
- Improved accessibility for alerts shown for Required Custom Fields in Quizzes.
- Improved accessibility for quiz custom fields form.
- Improved accessibility for the back to course link on the course step pages.
- Improved accessibility for when only one Tabbed element exists on a page.
- Improved accessibility for landmarks on focus mode pages.
- Compatibility update of our telemetry library.
- Improved the Licensing API Component with enhanced caching, validation, and error handling.
- Updated functions:
learndash_reports_get_activity,learndash_sanitize_version_string. - Updated templates:
themes/ld30/templates/focus/index.php,themes/ld30/templates/focus/masthead.php,themes/ld30/templates/focus/sidebar.php,themes/ld30/templates/modules/infobar.php,themes/ld30/templates/modules/course-steps.php,themes/ld30/templates/modules/tabs.php,themes/ld30/templates/modules/tabs_group.php,themes/legacy/templates/quiz/partials/show_quiz_form_box.php,themes/legacy/templates/quiz/partials/show_quiz_info_page_box.php,themes/legacy/templates/quiz/partials/show_quiz_questions_box.php,themes/legacy/templates/quiz/partials/show_quiz_result_box.php.
Features
- Added the new Modern Course Page, which can be toggled under LearnDash > Settings > General.
Tweaks
- Added the "Modern Registration Page" and "Modern Course Page" fields to the Site Health Info page in the admin.
- Migrated the LearnDash > Settings > Registration/Login - Appearance field to the General tab.
- Added functions:
learndash_registration_page_build_url. - Updated functions:
learndash_get_login_url,learndash_get_wrapper_class. - Added filters:
learndash_ld30_modern_course_show_header,learndash_ld30_modern_course_show_sidebar,learndash_model_course_award_certificate,learndash_model_course_award_points,learndash_model_course_certificate_link,learndash_model_course_has_awards,learndash_model_course_has_requirements,learndash_model_course_has_steps,learndash_model_course_lessons_number,learndash_model_course_lessons,learndash_model_course_product,learndash_model_course_quizzes_number,learndash_model_course_requirement_points,learndash_model_course_requirement_prerequisites,learndash_model_course_topics_number,learndash_model_setting,learndash_model_{$post_type_key}_available_on_date,learndash_model_{$post_type_key}_course,learndash_model_{$post_type_key}_is_attendance_required,learndash_model_{$post_type_key}_is_complete,learndash_model_{$post_type_key}_is_external,learndash_model_{$post_type_key}_is_in_person,learndash_model_{$post_type_key}_is_sample,learndash_model_{$post_type_key}_is_virtual,learndash_model_{$post_type_key}_quizzes_number,learndash_model_{$post_type_key}_quizzes,learndash_model_{$post_type_key}_steps_filter_by_visibility,learndash_model_{$post_type_key}_topics_number,learndash_payment_button_label_course,learndash_template_views_course_tabs,learndash_template_views_tabs,learndash_template_view_context,learndash_theme_supports_views`. - Updated filters:
learndash_model_product_type_label,learndash_wrapper_class. - Added actions:
learndash_version_downgraded_to_$version,learndash_version_downgraded,learndash_version_upgraded_to_$version,learndash_version_upgraded.
Fixes
- Fixed activity widget not showing activity for cases when a user gets enrolled in a course.
- Fixed activity widget not respecting the statuses set in the filter.
Performance
- Optimized the performance of activity data queries made via the learndash_reports_get_activity() function, especially for sites with many posts and users when their activity meta is fetched.
- Optimized activity widget by not querying additional activity meta that it doesn't use.
- Optimized the progress chart widget by lowering memory consumption and improving its performance on large sites.
- Optimized functions:
learndash_reports_get_activity.
Tweaks
- Updated functions:
learndash_reports_get_activity. - Added filters:
learndash_user_activity_meta_query_joins,learndash_user_activity_meta_query_where,learndash_user_activity_query_group_by,learndash_user_activity_results.
Fixes
- Fixed the Expand and Collapse button label text on course inner pages when focus mode is enabled.
- Resolved an issue where the Trusted Login page styling was not loading correctly.
Fixes
- Resolved a fatal error for purchases through the RazorPay payment gateway.
- Resolved an issue where Tabs on Group pages would not work correctly.
Tweaks
- Enhanced Stripe Webhook validation with a loading state and more detailed validation results for both test and live webhooks.
- Updated templates:
themes/ld30/templates/modules/tabs_group.php. - Deprecated classes:
LearnDash\Core\Modules\Payments\Gateways\Stripe\Webhook_Setup_Validator. - Deprecated functions:
Learndash_Stripe_Gateway::create_fake_coupon_for_webhook_test.
Fixes
- Resolved an issue where users could not be enrolled in a Free course after registration when the 'Modern' registration appearance is activated.
Tweaks
- Added filters:
learndash_model_product_supports_coupon.
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
Modernregistration 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.
Fixes
- Resolved an issue where quiz resume didn't work when the saved answer had a line break or similar characters within it.
Tweaks
- Deprecated functions:
learndash_prepare_quiz_resume_data_to_js.
