Instructor Role

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.