The Official Blog for LifterLMS Contributors

  • LifterLMS Social Learning Version 1.3.0

    Updates
    • Define versions for llms-select2 script and styles to improve cache busting after updates.
    • Use strict type comparisons wherever possible.
    • Use wp_json_encode() in favor of json_encode().
    • Use wp_parse_url() in favor of parse_url().
    • Use wp_safe_redirect() over wp_redirect() when redericting to a same site URL.
    • Use wp_strip_all_tags() in favor of strip_tags().
    • Added new filter llms_sl_story_query_query_where.
    • Added new filter llms_sl_story_reply_query_query_where.
    Bug fixes
    • Unslash input $_POST['term'] before using it.
    • Fixed trying to access to undefined variable $story_id, use $data['story_id'] instead.
    • Fixed a bug causing users from being unable to edit or delete stories on their own profile page.
    • Fixed use of incorrect usage of filter llms_sl_story_can_user_edit which should have been llms_sl_story_can_user_delete.
    Deprecations
    • The $student argument of llms_sl_get_student_achievement_url() is no longer optional (for php8 compatibility).
    • File includes/models/class-llms-sl-story-reply.php should be used in favor of deprecated file includes/model-llms-sl-story-reply.php.
    • File includes/models/class-llms-sl-story.php should be used in favor of deprecated file includes/model-llms-sl-story.php.
    Read more: LifterLMS Social Learning Version 1.3.0
  • LifterLMS Advanced Quizzes Version 1.1.1

    Bug fixes
    • Added 'notranslate' class to the field’s wrapper to fix conflicts with the gTranslate plugin.
    Templates Updated
    • templates/quiz/questions/content-long_answer.php
    Read more: LifterLMS Advanced Quizzes Version 1.1.1
  • LifterLMS Version 4.7.1

    Bug fixes
    • During import generation set the post excerpt during the initial post insert instead of during metadata updates after creation.
    LifterLMS REST API 1.0.0-beta.16
    • Improved performance of various database queries.
    Read more: LifterLMS Version 4.7.1
  • LifterLMS Version 4.7.0

    Updates
    • Major refractor of the LLMS_Generator class.
    • Course export structure improved to include images and reusable blocks found in post content.
    • When importing courses images will be automatically sideloaded into the media library as new attachment posts
    • When importing courses reusable blocks will be imported
    • Improved the success message displayed following a course import
    • The class LLMS_Admin_Reporting is now always loaded on the admin panel.
    • Performance improvements have been made to the LLMS_Events_Query to support using the no_found_rows query argument.
    • When an order’s billing plan “completes”, a new meta property will be added to the order, plan_ended, which can be used to query orders with completed plans.
    • Made improvements to the admin payment rescheduler tool to have more accurate reporting information.
    Bug fixes
    • Replaced an instance of the LifterLMS (old) 1.0 rocket logo with the current rocket logo. Thanks @imknight!
    • Ensure builder switch-number fields are set with the number type attribute. Thanks @imknight!
    • Don’t display a “View Post” link when updating post types that aren’t publicly queryable. Thanks @imknight!
    • Fixed the incorrect output of an achievment’s title in a popover notification when using the {{ACHIEVEMENT_TITLE}} merge code. Thanks @CadenG150!
    • Fixed an error encountered when plugins utilize the WP_Users_List_Table class outside of the users.php screen.
    Deprecations
    • LLMS_Admin_Import::localize_stat() is deprecated with no replacement.
    • LLMS_Admin_Users_Table::load_dependencies() is deprecated with no replacement. The included class, LLMS_Admin_Reporting is now always loaded.
    • LLMS_Generator::add_custom_values() is deprecated in favor of LLMS_Generator_Courses::add_custom_values.
    • LLMS_Generator::get_author_id_from_raw() is deprecated in favor of LLMS_Generator_Courses::get_author_id_from_raw().
    • LLMS_Generator::get_default_post_status() is deprecated in favor of LLMS_Generator_Courses::get_default_post_status().
    • LLMS_Generator::get_generated_posts() is deprecated in favor of LLMS_Generator::get_generated_content().
    • LLMS_Generator::format_date() is deprecated in favor of LLMS_Generator_Courses::format_date().
    • LLMS_Generator::increment() is deprecated with no replacement.
    Read more: LifterLMS Version 4.7.0
  • LifterLMS Assignments Version 1.1.11

    • Update: Remove usage of core LLMS_Generator class method scheduled to be deprecated in a future release.
    • Bugfix: Do not try to print the submission title if no submission was found for the current assignment.
    • Bugfix: Print a notice if no submission was found for the current assignment, instead of loading the assignment’s submission template.
    Read more: LifterLMS Assignments Version 1.1.11