Skip to content

Commit

Permalink
Merge pull request #1546 from themeum/dev
Browse files Browse the repository at this point in the history
3.2.1 Release
  • Loading branch information
shewa12 authored Jan 22, 2025
2 parents a48d2c6 + 39b01b1 commit 4c007fe
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 37 deletions.
26 changes: 5 additions & 21 deletions classes/Course.php
Original file line number Diff line number Diff line change
Expand Up @@ -269,12 +269,6 @@ public function __construct( $register_hooks = true ) {

add_filter( 'template_include', array( $this, 'handle_password_protected' ) );

/**
* Add a filter to override the default sanitization of slugs(post_name) in WordPress.
*
* @since 3.2.0
*/
add_filter( 'sanitize_title', array( $this, 'tutor_sanitize_slug' ) );
}

/**
Expand Down Expand Up @@ -1210,7 +1204,11 @@ public function ajax_course_details() {
}
}

$course = get_post( $course_id, ARRAY_A );
$course = get_post( $course_id, ARRAY_A );
if ( $course ) {
$course['post_name'] = urldecode( $course['post_name'] );
}

$editors = tutor_utils()->get_editor_list( $course_id );

$data = array(
Expand Down Expand Up @@ -3019,18 +3017,4 @@ public function user_list_args_for_instructor( $args ) {

return $args;
}


/**
* Sanitizes a slug by decoding URL-encoded characters.
*
* @param string $slug The URL-encoded slug to be sanitized.
*
* @return string The sanitized slug with decoded characters.
*
* @since 3.2.0
*/
public function tutor_sanitize_slug( $slug ) {
return urldecode( $slug );
}
}
32 changes: 18 additions & 14 deletions 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: 6.7
Requires PHP: 7.4
Stable tag: 3.2.0
Stable tag: 3.2.1
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -312,27 +312,31 @@ Tutor LMS allows you to offer certificates to your students upon course completi

== Changelog ==

= 3.2.1 - January 21, 2024

Fix: Resolved the "Page not found" issue for multilingual courses.

= 3.2.0 - January 20, 2024

New: Added Membership support (Phase 1) in the Native Subscription system.
New: Redesigned the Native Subscription and introduced Subscriptions for Course Bundles.
New: Integrated Authorize.net payment gateway.
New: Added re-subscription option upon cancellation or expiration.
New: Added Membership support (Phase 1) in the Native Subscription system. (Pro)
New: Redesigned the Native Subscription and introduced Subscriptions for Course Bundles. (Pro)
New: Integrated Authorize.net payment gateway. (Pro)
New: Added re-subscription option upon cancellation or expiration. (Pro)
New: Added a setting to allow or restrict instructors from changing course authors.
Update: Added Support for Internationalised Characters when converting slug.
Update: Implemented a licensing system with OAuth authentication.
Update: Implemented a licensing system with OAuth authentication. (Pro)
Update: Redesigned the Addon page and included a plugin installation feature.
Update: Improved responsive design for the course builder.
Update: Email templates now support RTL (Right-to-Left) languages.
Update: Email templates now support RTL (Right-to-Left) languages. (Pro)
Fix: Resolved issue with Gutenberg WooCommerce checkout page not enrolling users after guest checkout.
Fix: Adjusted instructor earnings calculation to account for discounted prices when WooCommerce coupons are applied.
Fix: Corrected access issue where students retained course access after subscription expiration in Paid Membership Pro.
Fix: Fixed error message for H5P quiz ID in Tutor quiz descriptions.
Fix: Adjusted instructor earnings calculation to account for discounted prices when WooCommerce coupons are applied. (Pro)
Fix: Corrected access issue where students retained course access after subscription expiration in Paid Membership Pro. (Pro)
Fix: Fixed error message for H5P quiz ID in Tutor quiz descriptions. (Pro)
Fix: Resolved PHP warning in legacy mode on the course builder.
Fix: Fixed WPML course duplication issue in the new course builder.
Fix: The Tutor report graph now displays correctly after translation with Loco Translate.
Fix: Email verification links are now correctly encoded.
Fix: Fixed enrollment counter not updating for private courses in the student dashboard.
Fix: Fixed WPML course duplication issue in the new course builder. (Pro)
Fix: The Tutor report graph now displays correctly after translation with Loco Translate. (Pro)
Fix: Email verification links are now correctly encoded. (Pro)
Fix: Fixed enrollment counter not updating for private courses in the student dashboard. (Pro)
Fix: Resolved issue with course thumbnails not being added to WooCommerce products.

= 3.1.0 - December 12, 2024
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: Tutor is a complete solution for creating a Learning Management System in WordPress way. It can help you to create small to large scale online education site very conveniently. Power features like report, certificate, course preview, private file sharing make Tutor a robust plugin for any educational institutes.
* Author: Themeum
* Version: 3.2.0
* Version: 3.2.1
* Author URI: https://themeum.com
* Requires PHP: 7.4
* Requires at least: 5.3
Expand All @@ -24,7 +24,7 @@
/**
* Constants for tutor plugin.
*/
define( 'TUTOR_VERSION', '3.2.0' );
define( 'TUTOR_VERSION', '3.2.1' );
define( 'TUTOR_FILE', __FILE__ );

/**
Expand Down

0 comments on commit 4c007fe

Please sign in to comment.