Skip to content

Version 2.2.2

Compare
Choose a tag to compare
@thomasplevy thomasplevy released this 15 Mar 22:28
One step closer to a public GitHub repository

We've made a assive syntatical update to almost every file in the codebase for a (finally) unified and clearly defined coding standard. This puts us one step closer to beginning to open our GitHub repo publicly and accepting pull requests and contributions from developers everywhere.

Okay, we haven't exactly clearly defined it yet. We're working off a modified version of the WordPress Coding Standards.

Notable exceptions are related to file names because Thomas Levy didn't have the energy to rename a bunch of files as well as ignoring the Yoda Conditions standards. We'll be fixing these deviations in the future.

Quizzes
  • Created new time calculation and humanizing functions related to the display of quiz time on quiz results pages
  • Quizzes will now display hours, minutes, and seconds depending on the time it took to take the quiz
  • Timing calculations are more accurate and quizzes that are completed in less than 60 seconds will not bug out and display incredibly long lengths
  • Resolved an issue that occassionally prevented quiz data from saving during the last question causing the quiz to hang in an uncompletable state
  • Quiz questions now have a default point value of 1, thanks @atimmer
  • Quiz question answers now accept valid HTML as per wp_kses_post, thanks again to @atimmer
Translations
Issue and bug resolutions
  • Fixed a restriction issue that would happen when individual lessons were restricted to a membership level
  • Fixed an issue with the [lifterlms_my_account] shortcode that was preventing the shortcode from working on the Divi theme.
  • Engagements will now only be triggered if they are "Published". Resolves an issue where draft or trashed engagements were still firing.
  • Fixed CSS overflow on LifterLMS Meta boxes. Fixes an issue where select boxes would be hidden inside a metabox.
  • Changed the ConvertKit extension banner image on the LifterLMS general settings page and replaced added a link to the extension now that it's available.
  • Added a link to the new ConvertKit extension to the .org readme
  • When restricting an entire site to a membership level the page selected as the "Terms and Conditions" page in LifterLMS settings will automatically bypass Membership restriction settings. This will allow your unregistered users to actually read the T&C that they're confirming during registration.
  • CSS fix for has-icon class on course syllabus
  • Fixed a PHP warning that displayed when purchasing a membership with no auto-enrollment courses
  • Fixed an undefined variable warning in the WooCommerce integration class
  • Fixed a few templating issues related to certificates
  • Added a few new CSS rules that should make certificates more compatible across various themes
  • Added a css class to LifterLMS Next Lesson buttons, llms-next-lesson
  • Updated the scheduled event name for cleaning up LifterLMS session data from the WP database. It had a conflicting name with the scheduled event for expiring LifterLMS memberships.