Skip to content

Releases: gocodebox/lifterlms

Version 7.3.0

08 Aug 16:12
5c51563
Compare
Choose a tag to compare

v7.3.0 - 2023-08-08

Updates and Enhancements
  • When a notice is shown for an access plan on the course edit screen (e.g. When using the WooCommerce integration and no product has been associated to the access plan.) Also display a warning icon next to the access plan title.
  • Made sure only who can view_others_lifterlms_reports will be able to see the analytics widget content in the WordPress admin.
  • Better rounding of float values on some reporting screens.
  • Avoid creating a post revision when cloning a course/lesson.
  • When creating pages via llms_create_pages(): strip all tags from the page title and slash the page data prior to inserting the page in the db via wp_insert_post() to prevent slashes from being stripped from the page title.
  • Updated the WordPress tested version up to 6.3.
  • Improved compatibility with the Divi theme by fixing an issue with the quiz attempt result clarifications not being visible when the Divi option Defer jQuery And jQuery Migrate was enabled. #2470
Bug Fixes
  • Fix spacer block when creating new certificate templates in WP 6.3.
  • Fixed PHP Warning when no course/membership catalog page was set or if the selected page doesn't exist anymore. #2496
  • Don't include WordPress default sidebar.php template when using a block theme. #2488
  • Updated Kazakhstani Tenge's currency symbol. #2475
  • Make the dashboard widget visible only if the current user has LMS Manager capabilities. #2500
  • Fixed issue with LifterLMS Navigation Link block and block visibility settings. #2474
  • Use student dashboard as default value for navigation link block. #2465
  • Fixed typo in a function name that could potentially produce a fatal. Thanks @kamalahmed!
Developer Notes
  • Added the parameter $tab (ID/slug of the tab) to the lifterlms_reporting_tab_cap filter hook. Thanks @sapayth! #2468
  • Added new filter hook llms_can_analytics_widget_be_processed that will allow to filter whether or not an analytics widget can be processed/displayed.
  • Added new filter llms_install_get_pages.
  • Added new public static method LLMS_Admin_Dashboard_Widget::get_dashboard_widget_data().
  • Added llms_dashboard_checklist and llms_dashboard_widget_data filters to adjust dashboard content. #2491
Updated Templates

Version 7.2.1

13 Jun 16:31
51e971a
Compare
Choose a tag to compare

v7.2.1 - 2023-06-13

Updates and Enhancements

Version 7.2.0

07 Jun 17:58
794fcc5
Compare
Choose a tag to compare

v7.2.0 - 2023-06-07

New Features
  • Added LLMS_ASSETS_VERSION constant for cache busting.
  • Add course builder explainer video and lesson IDs.
  • Add new dashboard widget.
  • Added query to remove order comments on plugin uninstall when the constant LLMS_REMOVE_ALL_DATA is set to true. #2322
  • Added support for showing multiple difficulties when using Gutenberg Editor. #2433
  • Add shortcode wrapper blocks.
  • Added new navigation link block.
  • Added llms_is_editor_block_rendering helper function.
  • Added llms_is_block_editor helper function.
Updates and Enhancements
  • Adjusted llms_modify_dashboard_pagination_links_disable filter to return false only on Dashboard page.
  • Updates LifterLMS REST to v1.0.0-beta.27.
  • Raised the minimum support WordPress core version to 5.9.
  • Updates LifterLMS Blocks to 2.5.0.
Bug Fixes
  • Fixed LifterLMS specific block templates not correctly working on Windows file system.
  • Added function_exists check for llms_blocks_is_post_migrated().
  • Update so dismissed notifications don't remain on viewport top layer.
  • Made sure to always enqueue iziModal assets when rendering achievements cards.
Developer Notes
  • Added new filter hook llms_builder_settings to filter the settings passed to the course builder.
Updated Templates

Version 7.1.4

28 Apr 14:12
1c8232e
Compare
Choose a tag to compare

v7.1.4 - 2023-04-28

Bug Fixes
  • Fixed an issue that prevented the correct saving of the course length when using the block editor. #2426
Developer Notes
  • Fixed an issue running unit tests on PHP 7.4 and WordPress 6.2 expecting render_block() returning a string while we were applying a filter that returned the boolean true.

Version 7.1.3

25 Apr 15:39
a4dfcb4
Compare
Choose a tag to compare

v7.1.3 - 2023-04-25

Updates and Enhancements
  • Wrapped some elements in HTML for better styling.
  • In Course and Lesson settings, replaced outdated URLs to WordPress' documentation about the list of sites you can embed from.
  • Updated few Italian province names. #2256
  • Avoid use of inline styles in course reviews. #410
Bug Fixes
  • Fixed "Unsaved Data" warning when adding vouchers. #2394
  • Fixed "Course Length" and "Difficulty" fields visible in the Block Editor which is meant for Classic Editor. #2174
  • Added missing $post_id parameter to the the_title filter hook when retrieving a form title. #2332
  • Added missing Armed Forces options to the US States dropdown in the Billing information form. #2325
  • Using strpos() instead of str_starts_with() for compatibility. #2415
Developer Notes
  • Added helper function llms_get_floats_rounding_precision() to return precision for rounding off floating values and filter hook lifterlms_floats_rounding_precision to filter precision value in reporting. #2237
  • Added lifterlms_dashboard_memberships_not_enrolled_text filter hook to allow altering the message displaying on the student dashboard when the current user is not enrolled in any memberships. #2396
  • Added lifterlms_dashboard_courses_not_enrolled_text filter hook to allow altering the message displaying on the student dashboard when the current user is not enrolled in any courses. #2396
Updated Templates

Version 7.1.2

23 Mar 15:55
Compare
Choose a tag to compare

v7.1.2 - 2023-03-22

Updates and Enhancements
  • Making the LifterLMS logo link to the LifterLMS.com site.
Bug Fixes
  • Fix bug in llms_featured_img function when featured image file is not available. #2381
  • Fixed manual certificates awarding broken when using the block editor. #2386

Version 7.1.1

13 Mar 22:52
Compare
Choose a tag to compare

v7.1.1 - 2023-03-13

Bug Fixes
  • Fixed notice display on WooCommerce dashboard pages.
  • Fixed View button URL when using WP in subdirectory.
  • Fixed blank System Report's copy for Support.

Version 7.1.0

03 Mar 11:51
Compare
Choose a tag to compare

v7.1.0 - 2023-03-02

New Features
  • Added lessons count column on the Courses post list table.
  • Added a new Dashboard page under the LifterLMS menu in the admin, whicih includes recent activity widgets and links to useful resources.
  • Added link to the course builder for each lesson on the Lessons post list table. Also added a link to either edit or add a quiz.
Updates and Enhancements
  • Updates LifterLMS Helper to v3.5.0.
  • Make the LifterLMS menu meta box initially available on Appearance -> Menus.
  • Updates LifterLMS REST to v1.0.0-beta.26.
Bug Fixes
  • Catch possible fatal when trying to display a "broken" basic notification and set its status to 'error' so that it'll be excluded from the next fetches.
  • Catch possible fatal when sending notification emails and in that case remove from the queue the item that produced it.
  • Fix cloned course retaining original course's ID in some restriction messages.
  • Fixed possible admin notices duplication when activating/deactivating or installing add-ons from the page Add-ons & more.
  • Avoided setting the llms-tracking cookie when there are no events to track.
  • Updated styles across the entire plugin.
  • Updated Add-ons & more list to hide old (uncategorized) products.
Deprecations
  • Deprecated methods LLMS_Admin_Notices_Core::sidebar_support() and LLMS_Admin_Notices_Core::clear_sidebar_notice().
  • Removed notice for theme sidebar support.
Developer Notes
  • The function llms_is_user_enrolled() will always return false for non existing users. While, before, it could return true if a now removed user was enrolled into a the given course or membership.
  • Added new LLMS_Course::get_lessons_count() method. It can be used in place of count( LLMS_Course::get_lessons() ) to improve performance.
  • Fixed compatibility with PHP 8.1 by using an empty string as menu parent page for the course builder submenu page in place of NULL.
  • Avoid passing null values to urlencode() and urldecode() that would produce PHP warnings on PHP 8.1+.
  • Added $autoload parameter to the function llms_get_student.
Performance Improvements
  • Improve performance when querying notifications via the LLMS_Notifications_Query and there's no need to count the total notifications found, or for pagination information.
  • Immediately return false when running llms_is_user_enrolled() on logged out or no longer existing users, avoiding running additional DB queries e.g. when displaying course or membership catalogs for visitors.
  • Skip counting the total transactions found when retrieving the last or the first transaction for an order.
Updated Templates
  • templates/admin/reporting/nav-filters.php
  • templates/admin/reporting/reporting.php
  • templates/admin/reporting/tabs/courses/course.php
  • templates/admin/reporting/tabs/memberships/membership.php
  • templates/admin/reporting/tabs/quizzes/quiz.php
  • templates/admin/reporting/tabs/students/student.php
  • templates/admin/reporting/tabs/widgets.php
  • templates/checkout/form-confirm-payment.php

Version 7.0.1

14 Nov 22:15
375aee4
Compare
Choose a tag to compare

v7.0.1 - 2022-11-14

Bug Fixes
  • Fixed a fatal error encountered on the payment confirmation screen when attempting to confirm a non-existent order. #2093
  • Use sanitize_file_name() in favor of sanitize_title() for generating the file name of reporting table export files. #1540
  • Resolved conflict encountered on post edit screens when using LifterLMS, Yoast SEO, and the Classic Editor plugin. #2298
Developer Notes
  • A stub method, get_title() has been added to the LLMS_Abstract_Exportable_Admin_Table abstract class. This method should be defined by any extending classes and will throw a _doing_it_wrong() error when undefined.
  • Added new filter to allow customizing which user roles are affected by the LLMS_Admin_Menus::instructor_menu_hack function.

Version 7.0.0

04 Oct 16:23
d350599
Compare
Choose a tag to compare

v7.0.0 - 2022-10-04

New Features
  • Added handling for admin settings options that store their option values in a nested array.
  • Added new AJAX checkout and payment source switching endpoints for payment gateways to utilize instead of the preexisting synchronous form submission methods.
  • On purchase completed retrieve the redirection URL from the INPUT_POST 'redirect' variable, if no 'redirect' variable is passed via INPUT_GET. The INPUT_POST 'redirect' variable comes from the new checkout form's hidden field 'redirect' populated with LLMS_Access_Plan::get_redirection_url(). #2229
Updates and Enhancements
  • Full Site Editing: [BREAKING] The wrappers in the custom header and footer templates have been changed to the semantic HTML tags <header> and <footer> in favor of default <div> tags. #2281
  • When an order post is restored from the trash its post status will now be "llms-pending" in favor of the default "draft" status.
Bug Fixes
  • Fixed unclosed checkout div wrapper on empty cart. #2277
  • Don't attempt to lookup the default payment gateway from user meta data.
  • Fixed required fields duplication when the form is a child of a .wp-block-column element. #2134
  • Fixed an issue that prevented disabling the access plan’s option, Override Membership Redirects, once enabled. #2234
  • Disabled scroll-behavior: smooth on checkout screen to address form element validity checking issues on Chromium-based browsers. #2206
Deprecations
  • Deprecated LLMS_Controller_Orders::switch_payment_source() in favor of LLMS_Controller_Checkout::switch_payment_source().
  • Deprecated the lifterlms_update_option_{$type} action in favor of the llms_update_option_{$type} filter.
  • Method LLMS_Controller_Orders::confirm_pending_order() is deprecated in favor of LLMS_Controller_Checkout::confirm_pending_order().
  • Method LLMS_Controller_Orders::create_pending_order() is deprecated in favor of LLMS_Controller_Checkout::create_pending_order().
  • Method LLMS_Controller_Orders::switch_payment_source() is deprecated in favor of LLMS_Controller_Checkout::switch_payment_source().
  • Passing jQuery selections into the window.LLMS.Spinner functions is deprecated. Use JS Elements or selection strings parseable by document.querySelector() instead.
  • Deprecated hook llms_{$method}_title in favor of llms_{$method}_refund_title.
Developer Notes
  • Added admin settings helper function, llms_get_dashicon_link(), intended to enable the addition of external resource helper links to settings field descriptions.
  • The LLMS_Student object can be instantiated as an empty object and bypass current user autoloading. In the future this may affect integrations using the lifterlms_new_pending_order action hook which will receive an "empty" student object during order setup by gateways utilizing new AJAX-powered checkout endpoints.
  • Added a filter, llms_gateway_{$this->id}_logging_enabled, which will allow force enabling/disabling of gateway logging functions.
  • Improved payment gateway secure string logging by adding a method, add_secure_string() allowing developers to add secure strings during runtime without the necessity of registering the strings using filters.
  • Introduces new function llms_is_option_secure() for determining if an "secured" option is defined in a "secure" manner.
  • Implemented new gateway feature: modify_recurring_payments. #2176
  • Added two new parameters to LLMS_Access_Plan::get_redirection_url() - $encode to optionally get a raw (not encoded) URL. - $querystring_only to optionally get only the redirect URL if set via NPUT_GET variable.
  • Added new parameter $querystring_only to the filter hook llms_plan_get_checkout_redirection.
  • Admin settings fields now display after_html for additional field types which support desc.
  • The CSS for .llms-spinning and .llms-spinner elements is no longer loaded as part of the lifterlms.css and admin.css files, instead it is loaded dynamically when window.LLMS.Spinner functions are called. In some cases CSS overrides to these elements which relied on CSS rule load order may no longer successfully override the default CSS rules. These overrides may need to be updated to have more specific selectors in order to ensure the overrides are retained.
  • The Javascript object, window.LLMS.Spinner, has been converted to a module accessible from the same variable.
  • The window.LLMS.Spinner methods now accept JS Elements and selector strings parseable by document.querySelector() in addition to jQuery selections.
  • Added new filter llms_transaction_can_be_refunded enabling custom refund restrictions to be applied to a transaction.
Updated Templates