diff --git a/core/DB.php b/core/DB.php index 3457f0a410..acb47e0d53 100644 --- a/core/DB.php +++ b/core/DB.php @@ -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'; + } + } diff --git a/readme.txt b/readme.txt index 43a3f49bc6..dd90143c39 100644 --- a/readme.txt +++ b/readme.txt @@ -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 @@ -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. diff --git a/tutor.php b/tutor.php index 0bed3ad49a..992296efd6 100644 --- a/tutor.php +++ b/tutor.php @@ -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 @@ -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.