LearnDash LMS
Fixes
- Addressed a regression in the RazorPay library related to the
REQUESTS_SILENCE_PSR0_DEPRECATIONSconstant. - Fixed an issue where the quiz Legend (question numbers at the top of the quiz) could lose the correct/incorrect flag, after the user answered a question.
- Resolved an issue where if Quiz Resume Data was stored in the browser and not yet sent to the server and the logged-in user logged out and another user logged in, the Quiz Resume Data would be shared between them.
Tweaks
- Fixed the markup of the modern topic layout.
- Improved validation for quiz resume data to prevent corrupted data from causing issues when resuming a quiz.
- Quiz Resume Data is now stored via
localStorageinstead of a Cookie to avoid issues with large Quizzes. - Updated templates:
themes/ld30/templates/modern/topic/content.php.
Fixes
- Fixed an issue with block toolbars in WP 6.9.
- Resolved an issue where Lesson, Topic, Group, and Challenge Exam settings tabs would not load.
- Resolved an issue where links within LearnDash Blocks could be clicked and would replace the block with the contents of that page.
- Resolved an issue where sometimes the block editor wouldn't be visible for Courses.
Fixes
- Fixed a PHP warning when accessing post content in contexts where the global
$postvariable is null. - Fixed the WP logo in the fullscreen mode on post editing page.
- Resolved an issue where the Course Builder would not be visible if meta boxes are hidden in WP 6.9+.
- Resolved an issue where the Course CSV Export on the LearnDash LMS -> Reports page would sometimes get stuck at 50% complete.
- Resolved an issue where the export buttons on the LearnDash LMS -> Reports page would not initialize properly in some circumstances.
Tweaks
- Improved Block compatibility with WordPress 6.9.
- Improved
get_comments_numberfilter return type to match WordPress core behavior for strict type comparison compatibility. - LearnDash Cloud: removed the LearnDash Cloud menu and standardized the LearnDash help page.
- Removed the "new" tag from Presenter Mode.
Fixes
- Fixed
e(...).dialog is not a functionconsole error. This was due to a missing dependency on some pages. - Fixed a style conflict for Kadence Gallery and other related blocks on the Course pages when in focus mode.
- Orders with a discount that reduces the price to 0 will now show on the Orders page.
- Resolved an issue where the Reporting block Download button would not return the same results as displayed on the page.
- Resolved issue with
[learndash_course_grid]shortcode loading styles when rendered from an Elementor or Divi template. - Resolves issue where the first comment would sometimes be cropped off at the top.
Tweaks
- Added notice linking to documentation for v5.0.0. This notice will be displayed once v5.0.0 is available.
- Added filters:
learndash_location_is_plugins_page,learndash_location_is_updates_page.
Fixes
- Authentication files that were automatically included in ZIPs downloaded from account.learndash.com will now be deleted when deauthenticating a site.
- Fixed a broken layout issue of the
OpenAI API Keyfield's input note. - Fixed a conflict with Divi theme builder when course reviews module was active.
- Fixed a fatal error with 3rd party plugins that was caused by an explicit return type on a filter.
- Fixed an issue where essays that were in draft, trashed or deleted appeared on user profile page.
- Fixed an issue where updating a quiz post after previously adding a custom field would create a duplicate custom field.
- Fixed missing LearnDash reports widgets titles.
- Resolved an issue when rendering free choice quiz question answers with angle brackets.
- Resolved an issue where disabling the quiz custom field setting would not keep it disabled after the editor page was reloaded.
- Resolved an issue where the "Save Quiz data to the server every" setting was not respected and instead always used the default value.
- Resolved an issue where the
LEARNDASH_QUIZ_RESUME_COOKIE_SEND_TIMER_DEFAULTconstant was not respected by the "Save Quiz data to the server every" quiz setting. The default value is now 20 seconds instead of 5. - Restored the Question Overview Legend when enabled.
Tweaks
- Added course and group type enrollment statistics to Site Health.
- Added temporary seasonal UI enhancement.
- Improved accessibility for the Question Overview Legend.
- Modern Course Pages are no longer automatically enabled for new installs.
- Added filters:
learndash_admin_banners. - Added templates:
themes/ld30/templates/quiz/partials/show_quiz_review_legend.php,themes/ld30/templates/quiz/partials/show_quiz_review_questions.php. - Updated templates:
includes/reports/templates/ld-propanel-full-page.php,themes/ld30/templates/shortcodes/profile/quiz-row.php.
Features
- Added a migration guide to the PayPal Standard settings page to help users update subscriptions and switch to PayPal Checkout.
- Added a new
[ld_migrate_paypal_subscription]shortcode to help migrate PayPal Standard subscriptions to PayPal Checkout. - Added a new mechanism to retry payments for failed PayPal Checkout subscriptions.
Fixes
- Fixed an issue where limited subscriptions were charging one extra billing cycle when paid with PayPal Checkout.
- Fixed the OpenAPI security schemes array and empty properties.
- Removed an extra div element inside the Profile block.
Tweaks
- Added PayPal Checkout Status to Site Health.
- Display the "Saved Cards" section inside the Profile block only when a compatible payment gateway is enabled.
- Enhanced PayPal Checkout onboarding with increased connection timeouts and improved error messaging to provide a smoother setup experience.
- Improved checkout display by hiding the PayPal button and card fields when the selected payment method is not eligible.
- Improved the LearnDash Orders Edit Page and the Profile shortcode to include the reason why a subscription was canceled.
- Prevented the Telemetry Opt-in modal from showing during the onboarding wizard when setting up PayPal.
- When a PayPal Standard subscription is cancelled, a user is unenrolled from a course or a group automatically.
- Added actions:
learndash_paypal_standard_migration_shortcode_after. - Added filters:
learndash_profile_show_saved_cards,learndash_show_telemetry_modal,learndash_subscription_max_retries,learndash_subscription_payment_retry_email_message,learndash_subscription_payment_retry_email_placeholders,learndash_subscription_payment_retry_email_subject,learndash_subscription_retry_intervals. - Updated templates:
src/admin_views/modules/payments/orders/edit/subscription/details/cells/status.php,themes/ld30/templates/shortcodes/profile/saved-cards/index.php,themes/ld30/templates/shortcodes/profile/subscriptions/canceled/cancellation-date.php.
Features
- Added OpenAPI documentation for Course-related
ldlms/v2endpoints to/wp-json/learndash/v1/docs/openapi.
Tweaks
- Added the
topicparameter when retrieving assignments via theldlms/v2/sfwd-assignments/andldlms/v2/sfwd-assignments/{id}endpoints. - Added the following fields to the
ldlms/v2/sfwd-courses/andldlms/v2/sfwd-courses/{id}/endpoints when creating or updating a Course:course_start_date,course_end_date,course_seats_limit.
Features
- Merged course reviews addon feature to LearnDash core.
Fixes
- Fixed an issue where a new quiz question had zero points by default. Now it supports the LEARNDASH_LMS_DEFAULT_QUESTION_POINTS constant and is 1 by default.
- Fixed an issue where the "Groups" submenu was missing on the groups editor page.
- Resolved an issue where the Export User Course/Quiz Data buttons were missing on the Reports page.
Tweaks
- Improved compatibility with PHP 8.3.
- Removed open courses from Report Filters to avoid confusion.
- Added actions:
learndash_course_reviews_after_review_pagination,learndash_course_reviews_after_review,learndash_course_reviews_after_reviews,learndash_course_reviews_average_review,learndash_course_reviews_before_review,learndash_course_reviews_before_reviews,learndash_course_reviews_review_form,learndash_course_reviews_review_list,learndash_course_reviews_review_reply. - Added constants:
LEARNDASH_MODULE_COURSE_REVIEWS_DISABLED. - Added filters:
learndash_course_reviews_locate_template_args,learndash_course_reviews_locate_template_name,learndash_course_reviews_locate_template,learndash_course_reviews_render_reviews_args,learndash_course_reviews_show_review_form,learndash_course_reviews_user_has_not_started_course,learndash_course_reviews_user_has_started_course,learndash_course_reviews_user_logged_out_message,learndash_module_course_reviews_disabled. - Added functions:
LEARNDASHCOURSEREVIEWS,learndash_course_reviews_add_review,learndash_course_reviews_get_average_review_score,learndash_course_reviews_get_user_review,learndash_course_reviews_is_review_enabled,learndash_course_reviews_load,learndash_course_reviews_locate_template,learndash_course_reviews_star_rating,learndash_course_reviews_stars_input,learndash_course_reviews_user_has_started_course.
Features
- Added
wp-json/learndash/v1/docs/openapiREST API endpoint. - Added a new PayPal Checkout integration.
Tweaks
- Added PayPal Checkout to the setup wizard.
- Added a message on the setup page about the deprecation of the PayPal Standard gateway.
- Added a warning about the deprecation of the PayPal Standard gateway.
- Renamed "PayPal" to "PayPal Standard" in the payment gateways list.
- Added actions:
learndash_dialog_closed,learndash_dialog_opened,learndash_payment_subscription_after_failure_{$gateway_name},learndash_payment_subscription_after_success_{$gateway_name},learndash_payment_subscription_before_process_{$gateway_name},learndash_payment_subscription_check_due_payments,learndash_payment_subscription_process_due_payment,learndash_profile_add_card_form_content_loaded,learndash_profile_add_card_form_content,learndash_profile_add_card_submit,learndash_shortcode_profile_before_template. - Added filters:
learndash_handle_remove_card_{$gateway_id},learndash_model_product_final_price,learndash_model_user_cards,learndash_payment_subscription_batch_size,learndash_payment_subscription_check_end_timestamp,learndash_payment_subscription_check_start_timestamp,learndash_payment_subscription_daily_check_start_timestamp,learndash_payment_subscription_process_with_gateway_{$gateway_name},learndash_paypal_checkout_client_data,learndash_rest_endpoints,learndash_rest_openapi_documentation,learndash_rest_v1_common_schemas,learndash_settings_payments_show_paypal_standard,learndash_stripe_is_on_payments_setting_page,learndash_subscription_payment_method_information. - Updated templates:
src/admin_views/modules/payments/orders/edit/items/index.php,themes/ld30/templates/shortcodes/profile.php.
