Instructor Role
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.
Fixes
- Resolved an issue that was causing errors on the Instructor Course Builder page when The Events Calendar is active.
- Fixed an issue where the date picker months and days names on the frontend instructor dashboard were not translatable.
- Fixed an issue where the date on the frontend instructor dashboard was not formatted to the site locale.
- Fixed chart's days and months names and a few labels on the frontend instructor dashboard were not translatable.
- Fixed course access type and status were not translatable on the courses list page.
- Fixed some typo on the frontend instructor dashboard.
- Fixed the "Email Learner" feature on Course Reports' Learner tab didn't send out an email to the user.
- Fixed the "Email All Learners" feature on Course Reports' Course tab sometimes sent out an email to non-existent recipients.
- Resolved an issue where the frontend quiz builder couldn't save or publish the quiz.
- Fixed some PHP warnings that were caused by translation loading on WP 6.7+ and PHP deprecation.
- Fixed an issue where the frontend course and quiz builder displayed invalid date on Safari browser.
- Fixed essay question doesn't have text or upload field on frontend question page when it's created via the frontend quiz builder.
Tweaks
- Added filters:
learndash_instructor_role_days_names,learndash_instructor_role_months_names,learndash_instructor_role_mo_file_path. - Added functions:
learndash_instructor_role_load_translations.
