Instructor Role
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.
Fixes
- Resolved an issue where commissions were not tracked for courses purchased via LearnDash Payments.
- Resolved an issue where a local timezone that was behind the WordPress site's timezone could result in Courses being scheduled in the future when created via the Frontend Course and Quiz Editors.
- Resolved an issue where a user with the instructor role could not manage notes created within Notes by LearnDash (requires version 1.1.2 or above).
- Resolved an issue where Quizzes couldn't be published through the frontend dashboard.
- Fixed the installation link in documentation.
Tweaks
- Publish dates seen within the Frontend Course and Quiz Editors are now displayed using the local timezone.
- Validated the commission percentage value (must be between 0 and 100, with a maximum of three decimal places).
- Formatted the displayed commission values (added currency symbol and forced two decimal places).
- Set minimum required PHP version to 7.4.
- Added filters:
learndash_instructor_role_commission_percentage_max_value,learndash_instructor_role_commission_percentage_min_value,learndash_instructor_role_instructor_commission_data. - Added functions:
learndash_instructor_role_normalize_float_value. - Updated templates:
modules/templates/settings/ir-instructor-setup-settings.template.php.
