Instructor Role
Fixes
- Instructors can now create and edit courses, lessons, topics, and quizzes when the site language is set to "German (formal)" or other formal language variants. Previously, the editor would fail to load with a console error.
- Instructors can now use Infinite Scrolling and Load More buttons in Course Grid to view all their assigned courses, not just courses they authored.
- Pagination state not restoring when navigating back from submission details.
- Resolved a PHP 8 undefined variable warning for
$ld_categoryin the Frontend Dashboardenqueue_scripts()method. - Resolved an issue where Instructors and admins were unable to update groups from the Frontend Instructor Dashboard when "Group Tags" were disabled.
- Resolved an issue where essay submissions would be shown to the question owner instead of the course owner when LearnDash Shared Quiz Questions is enabled.
- Resolved an issue where the Visit Plugin link on the wp-admin > plugins list page directed to a non-existent URL.
- Resolved an issue where the student communication TinyMCE Send button did not appear on lesson and topic pages when LearnDash Notes or another front-end editor initialized before the message modal.
- Resolved an issue with ajax pagination in the Course List Block.
Tweaks
- Improved grammar and copy for the Course Creation card in Setup - Advanced Settings.
- Improved grammar and copy for the Dashboard card in Setup.
- Updated the commission setup description text for improved clarity.
- Added filters:
learndash_instructor_role_js_locale. - Updated templates:
modules/templates/settings/ir-instructor-setup-settings.template.php.
Compatibilitys
- LearnDash LMS 5.1.0 is now the minimum supported version.
Deprecates
- Deprecated constants:
INSTRUCTOR_ROLE_LICENSING_CHECK_LICENSE_URL,INSTRUCTOR_ROLE_LICENSING_SITE_URL. - Deprecated functions:
LearnDash\Instructor_Role\Licensing\Authentication,LearnDash\Instructor_Role\Licensing\Migration.
Fixes
- Resolved a JavaScript error when editing existing Quizzes and Quiz Questions via the frontend editor.
- Resolved an issue where comment avatars were incorrectly displayed.
- Resolved an issue where the UI did not update after editing a existing Quiz Question via the frontend editor.
Tweaks
- Improved grammar for the "Add Instructors" button text and its description on the settings page.
- Improved grammar for the "Instructor Settings" button text and its description on the settings page.
Fixes
- Resolved an incompatibility with Archive Templates in Elementor Pro.
Tweaks
- Instructor Commission forms now accept and display decimal amounts using locale-appropriate formatting (e.g., 1,50 for European locales, 1.50 for US locales).
Fixes
- Resolved an issue where the "Result messages" list item text would output HTML tags instead of stripping them out.
- Resolved an issue when creating or editing a Course using the Frontend Editor with LearnDash LMS v5.0.0 enabled where the "Course points - Required for access" and the "Course points - Awarded on completion" values would be invalid if not set.
- Resolved an issue where Administrators could not remove any Groups from a Course and Instructors could not remove all Groups from a Course when using the Frontend Course Editor.
- Resolved an issue where all Users could not be removed from a Course when using the Frontend Course Editor.
- Resolved an issue where an administrator couldn't submit a comment on an assignment from the instructor dashboard.
- Resolved an issue where course prerequisites and course points could not be properly enabled in the frontend course builder.
- Resolved an issue where multiple updates to Enrollment-based Quiz Release Schedule via the Frontend Quiz Editor could clears the field.
- Resolved an issue where the "Custom Field Name" field would lose focus after each character input.
- Resolved an issue where the "Custom Fields" toggle switch value was not saved in the database or output correctly on the frontend quiz builder.
- Resolved an issue where the "Result messages" toggle setting value couldn't be stored in database.
- Resolved an issue where the Groups custom pagination settings were not persisted in the database.
- Resolved an issue where the
ldlms/v2/sfwd-courses/{id}/groupsendpoint would be called twice whenever it was called if the logged in user was an Instructor.
Security
- Improved security around assignment and essay REST API endpoints.
Tweaks
- Updated the frontend quiz builder to accommodate the LearnDash Core REST API v2 changes.
Fixes
- Resolved an issue where existing Lessons or Topics could not be edited via the Frontend Course Editor.
Fixes
- Fixed block compatibility with WP 6.9.
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
- 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.
Tweaks
- Condensed the "add new" buttons within the new split button on LearnDash's Course page.
