Sensei LMS 3.1

Sensei LMS 3.1 has just been released. The primary focus of this release is a new setup wizard to help users get started creating courses straight away.

With this release, we are bumping the minimum supported version of WordPress to 5.0. This means we will no longer be actively supporting the classic editor.

Setup Wizard

The setup wizard has 4 simple steps that can be completed in just a few minutes:

  • Welcome – Brief overview of the wizard and an opportunity to opt in to usage tracking.
  • Purpose – We’d love to learn more about why you’re interested in offering online courses.
  • Features – Facilitates the installation of Sensei LMS’s most popular extensions.
  • Ready – Basic setup is complete. From here, we provide a few recommendations on what to do next.
Setup Wizard - Welcome

The setup wizard is displayed as soon as Sensei LMS is activated, but it’s also available to administrators at any time from the new Help tab on the Courses page:

Run setup wizard

What Else is in this Release?

  • Added some missing translations
  • Added the Date Completed field to the Learner Management page
  • Added a filter for enabling/disabling enrolment related background jobs
  • Change “Lessons” to “Lesson” for single lessons in a course or module
  • Removed the Most Used tab from Course Modules
  • Fixed the course dropdown width on the lessons page
  • Fixed a PHP warning on the single course page

For Developers

If you’re a developer, here’s what you need to know about Sensei LMS 3.1.

Template File Changes

  • templates/course-results/lessons.php – Display “Lesson” if there is only one lesson in the course.
  • templates/single-course/modules.php – Display “Lesson” if there is only one lesson in the module.
  • templates/single-course.php – Initialize the loop.

New Filter

  • sensei_is_enrolment_background_job_enabled – Check if a specific enrolment background job is enabled.

Deprecated Code

  • includes/email-signup/template.php
  • Sensei_Email_Signup_Form – Entire class has been deprecated
  • Sensei_Admin::admin_install_notice – Use Sensei_Onboarding::setup_wizard_notice
  • Sensei_Admin::admin_installed_notice – Use Sensei_Onboarding::setup_wizard_notice
  • Sensei_Admin::admin_notices_styles – Use Sensei_Onboarding::setup_wizard_notice
  • Sensei_Admin::create_page – Use Sensei_Onboarding_Pages::create_page
  • Sensei_Admin::create_pages – Use Sensei_Onboarding_Pages::create_pages
  • Sensei_Admin::install_pages – Use Sensei_Onboarding_Pages::create_pages
  • Sensei_Admin::install_pages_output – Use Sensei_Onboarding_Pages::create_pages
  • Sensei_Main::load_email_signup_modal
  • Sensei_Usage_Tracking_Base::enqueue_script_deps
  • Sensei_Usage_Tracking_Base::handle_tracking_opt_in – Use Sensei_Onboarding::setup_wizard_notice
  • Sensei_Usage_Tracking_Base::hide_tracking_opt_in – Use Sensei_Onboarding::skip_setup_wizard
  • Sensei_Usage_Tracking_Base::is_opt_in_hidden – Use Sensei_Onboarding::setup_wizard_notice
  • Sensei_Usage_Tracking_Base::maybe_display_tracking_opt_in – Use Sensei_Onboarding::setup_wizard_notice
  • Sensei_Usage_Tracking_Base::opt_in_dialog_text_allowed_html – Use Sensei_Onboarding::setup_wizard_notice
  • Sensei_Usage_Tracking_Base::output_opt_in_js

To update, please head on over to DashboardUpdates in the WordPress admin.

Please note: While we have thoroughly tested this release, it’s always possible that we’ve missed something. We recommend that you test the update on a staging site before updating your live site.

Leave a Reply

Your email address will not be published. Required fields are marked *