LearnDash
Recent Updates
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.
Tweaks
- Hide PayPal Standard if PayPal Checkout is enabled.
- Added \"Coupon discount\" to the Subscriptions details screen.
Fixes
- Updated the subscription prices and properly applied discounts on the member details screen.
- Fixed duplicate signup fee charge when switching payment gateways.
- Removed \"Draft\" flag for memberships paid with WooCommerce.
- Fixed an issue with Stripe payment renewals.
Fixes
- Overview tab content was missing after subsequent page loads if the Page Speed option was enabled for the Instructor Dashboard.
- Resolved an issue where creating or updating an essay question on the frontend quiz builder caused the essay to have 0 points.
- Resolved an issue where if translation files were not downloaded, a PHP notice would be shown on WordPress 6.8+.
- Fixed an issue where the Commissions tab on the instructor dashboard displayed blank for instructors that have earnings.
Fixes
- Fixed an issue where feedback and survey buttons were not visible in modern course template.
- Resolved an issue where saved assigned courses data was not reflected on the survey editor page.
- Fixed an issue where custom database table creation process ran on every page load.
- Fixed a conflict with WordPress block themes on review submission component rendering.
- Resolved an issue where administrators did not have sufficient capability to edit review and feedback posts.
- Resolved
_load_textdomain_just_in_time()notice errors that showed up in WordPress 6.8. - Fixed an issue where it was not possible to upload media on the review submission form because of an invalid nonce issue.
- Resolved the
FILTER_SANITIZE_STRINGdeprecation warnings.
Tweaks
- Deprecated constants:
WDM_LD_COURSE_ACTIVATION_MSG.
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.
Fixes
- Resolved a PHP notice related to the
_load_textdomain_just_in_timefunction that was being called incorrectly.
Tweaks
- Updated the plugin template implementation with StellarWP Templates library.
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.
Fixes
- Resolved an issue where the fields dependent on the course access settings in the frontend course builder appeared for irrelevant parent options.
- Fixed missing "Commissions" block on the admin instructor dashboard.
- Fixed sidebar overlapping content on the Instructor Dashboard.
- Resolved a layout issue on the backend Commission Report page for both the old and the new layout setting.
- Fixed issue with YouTube playlist course lessons not updating via Frontend Course Editor.
- Resolved an issue where commission payment didn't work in sites that use locales whose number format different than en_US number format.
- Fixed a warning error in the Assignments page when filtering by user.
- Fixed the frontend instructor dashboard sidebar, which couldn't be expanded if the container width is less than a certain value.
- Resolved an issue where the Comments block would not function correctly with One-Time Asset Loading enabled for the Dashboard Tabs block.
Tweaks
- Moved the "Edit via Frontend Quiz Creator" button on the Quiz Edit screen to the "Actions" menu when LearnDash 4.22.1 or higher is installed.
- Updated the description text for the "One-Time Asset Loading" option in the Instructor Role Tabs Block.
- Updated templates:
modules/templates/commission/ir-commission-logs.template.php.