Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions core/DB.php
Original file line number Diff line number Diff line change
Expand Up @@ -2419,4 +2419,18 @@ public static function transaction_level(): int {
public static function reset_transaction_state(): void {
self::$transaction_level = 0;
}

/**
* Get valid sort order.
*
* @since 4.2.4
*
* @param string $order order.
*
* @return string
*/
public static function get_valid_sort_order( string $order ) {
return 'ASC' === strtoupper( $order ) ? 'ASC' : 'DESC';
}

}
8 changes: 7 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: lms, course, elearning, education, learning management system
Requires at least: 5.3
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 4.2.3
Stable tag: 4.2.4
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -338,6 +338,12 @@ Tutor LMS allows you to offer certificates to your students upon course completi

== Changelog ==

= 4.2.4 - 01 Dec, 2026

Update: Improved Zoom meeting functionality. (Pro)
Fix: Resolved an issue where updating a course unintentionally removed other assigned instructors. (Pro)
Fix: Resolved an issue where canceling a subscription revoked course access before the billing period ended. (Pro)

= 4.2.3 - 26 Nov, 2026

Fix: Resolved an issue where students were unable to access the discussion page.
Expand Down
4 changes: 2 additions & 2 deletions tutor.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin URI: https://tutorlms.com
* Description: Build and manage professional online courses with unlimited lessons, a flexible quiz engine, and a complete student learning experience. No coding needed.
* Author: Themeum
* Version: 4.2.3
* Version: 4.2.4
* Author URI: https://themeum.com
* Requires PHP: 7.4
* Requires at least: 5.3
Expand All @@ -26,7 +26,7 @@
*
* @since 1.0.0
*/
define( 'TUTOR_VERSION', '4.2.3' );
define( 'TUTOR_VERSION', '4.2.4' );
define( 'TUTOR_FILE', __FILE__ );
define( 'TUTOR_ENV', 'PROD' ); // DEV || PROD.

Expand Down
Loading