4.21.4
2025-05-14 Feature1 Fix7 Tweak22Features
- Merged course grid addon feature to LearnDash core.
Fixes
- Fixed an issue where the [ld_course_list] shortcode/block could not return courses that have not been started yet.
- Fixed the square outline on the quiz radio input for themes that override it.
- Fixed a PHP deprecation notice on LearnDash profile page and single group page.
- Resolved an issue where the Focus Sidebar could not be scrolled properly.
- Resolved a potential fatal error if an invalid color were saved under LearnDash LMS -> Settings.
- Resolved an issue where Quizzes couldn't be started with the Legacy Theme active.
- Lesson status message now consistently appears on repeated page loads.
Tweaks
- Added a filter to allow redirecting the user immediately after a course step is completed.
- Added a warning message to the matrix sort answer question type in the backend about accessibility compliance.
- Improved accessibility for quiz Free Choice result label.
- Improved accessibility for quiz Matrix result label.
- Improved accessibility for quiz Fill in Blank result label.
- Improved accessibility for quiz free match result label.
- Improved accessibility for quiz single match result label.
- Added support for WP auto-updates.
- Updated the default custom label for the "Continue" button from "Click Here to Continue" to "Continue".
- Improved the RazorPay library to avoid PHP warnings related to the
REQUESTS_SILENCE_PSR0_DEPRECATIONSconstant. - Increased YouTube playlist importer request timeout.
- Improved accessibility for correct and incorrect answers for the "sorting" choice question type.
- Added move icon for matrix sorting question answers to improve accessibility.
- Improved accessibility for expand and collapse button labels.
- Improved accessibility for quiz question inputs.
- Reverted the Quiz Questions template for the Legacy theme to avoid conflicts with the LD30 theme.
- Added LearnDash Legacy template end of support notice.
- Added actions:
learndash_course_grid_assets_loaded,learndash_course_grid_custom_css. - Added filters:
learndash_block_markers_shortcode_atts,learndash_course_grid_author,learndash_course_grid_block_editor_image_sizes,learndash_course_grid_block_editor_orderby,learndash_course_grid_block_editor_paginations,learndash_course_grid_block_editor_post_types,learndash_course_grid_block_editor_taxonomies,learndash_course_grid_cards,learndash_course_grid_card,learndash_course_grid_class,learndash_course_grid_course_class,learndash_course_grid_currency,learndash_course_grid_custom_button_link,learndash_course_grid_custom_button_text,learndash_course_grid_default_shortcode_attributes,learndash_course_grid_editor_fields,learndash_course_grid_excluded_post_types,learndash_course_grid_filter_default_shortcode_attributes,learndash_course_grid_html_output,learndash_course_grid_post_extra_course_grids,learndash_course_grid_post_types,learndash_course_grid_price_text_format,learndash_course_grid_price,learndash_course_grid_query_args,learndash_course_grid_reviews,learndash_course_grid_ribbon_class,learndash_course_grid_ribbon_text,learndash_course_grid_skins,learndash_course_grid_skin,learndash_course_grid_template_post_attributes,learndash_course_grid_template,learndash_module_course_grid_disabled,learndash_step_completed_redirect_immediately,learndash_step_completed_transient_expiration_time. - Added functions:
learndash_course_grid_count_students,learndash_course_grid_is_learndash_post_type,learndash_course_grid_load_card_template,learndash_course_grid_load_inline_script_locale_data,learndash_course_grid_load_resources,learndash_course_grid_prepare_template_post_attributes. - Deprecated functions:
LearnDash\course_grid. - Updated templates:
themes/ld30/templates/course.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/modern/course/accordion/header/expand-all.php,themes/ld30/templates/modern/course/accordion/lessons/lesson/expand-button.php,themes/ld30/templates/shortcodes/course_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/widgets/course-navigation.php,themes/ld30/templates/widgets/navigation/lesson-row.php,themes/legacy/templates/quiz/partials/show_quiz_questions_box.php.
