Version Description
08 January, 2020 =
Fixed an update during lesson content from modal
Download this release
Release Info
Developer | themeum |
Plugin | Tutor LMS – eLearning and online course solution |
Version | 1.5.1 |
Comparing to | |
See all releases |
Code changes from version 1.5.0 to 1.5.1
- assets/js/tutor-admin.js +1 -1
- assets/js/tutor-front.js +1 -1
- classes/Lesson.php +1 -1
- readme.txt +5 -1
- tutor.php +2 -2
assets/js/tutor-admin.js
CHANGED
@@ -131,7 +131,7 @@ jQuery(document).ready(function($){
|
|
131 |
}
|
132 |
|
133 |
var form_data = $(this).closest('form').serialize();
|
134 |
-
form_data += '&lesson_content='+content;
|
135 |
|
136 |
$.ajax({
|
137 |
url : ajaxurl,
|
131 |
}
|
132 |
|
133 |
var form_data = $(this).closest('form').serialize();
|
134 |
+
form_data += '&lesson_content='+encodeURIComponent(content);
|
135 |
|
136 |
$.ajax({
|
137 |
url : ajaxurl,
|
assets/js/tutor-front.js
CHANGED
@@ -991,7 +991,7 @@ jQuery(document).ready(function($){
|
|
991 |
}
|
992 |
|
993 |
var form_data = $(this).closest('form').serialize();
|
994 |
-
form_data += '&lesson_content='+content;
|
995 |
|
996 |
$.ajax({
|
997 |
url : ajaxurl,
|
991 |
}
|
992 |
|
993 |
var form_data = $(this).closest('form').serialize();
|
994 |
+
form_data += '&lesson_content='+encodeURIComponent(content);
|
995 |
|
996 |
$.ajax({
|
997 |
url : ajaxurl,
|
classes/Lesson.php
CHANGED
@@ -131,7 +131,7 @@ class Lesson extends Tutor_Base {
|
|
131 |
$_lesson_thumbnail_id = (int) sanitize_text_field(tutor_utils()->avalue_dot('_lesson_thumbnail_id', $_POST));
|
132 |
|
133 |
$title = sanitize_text_field($_POST['lesson_title']);
|
134 |
-
$lesson_content = wp_kses_post($_POST['
|
135 |
|
136 |
$lesson_data = array(
|
137 |
'ID' => $lesson_id,
|
131 |
$_lesson_thumbnail_id = (int) sanitize_text_field(tutor_utils()->avalue_dot('_lesson_thumbnail_id', $_POST));
|
132 |
|
133 |
$title = sanitize_text_field($_POST['lesson_title']);
|
134 |
+
$lesson_content = wp_kses_post($_POST['lesson_content']);
|
135 |
|
136 |
$lesson_data = array(
|
137 |
'ID' => $lesson_id,
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: lms, course, elearning, education, learning management system
|
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 5.3
|
7 |
Requires PHP: 5.4.0
|
8 |
-
Stable tag: 1.5.
|
9 |
License: GPLv3
|
10 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
@@ -241,6 +241,10 @@ Tutor enables you to use any third party plugins without facing any compatibilit
|
|
241 |
|
242 |
== Changelog ==
|
243 |
|
|
|
|
|
|
|
|
|
244 |
= 1.5.0 - 06 January, 2020 =
|
245 |
|
246 |
* Certificate verification public URL (Pro)
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 5.3
|
7 |
Requires PHP: 5.4.0
|
8 |
+
Stable tag: 1.5.1
|
9 |
License: GPLv3
|
10 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
241 |
|
242 |
== Changelog ==
|
243 |
|
244 |
+
= 1.5.1 - 08 January, 2020 =
|
245 |
+
|
246 |
+
* Fixed an update during lesson content from modal
|
247 |
+
|
248 |
= 1.5.0 - 06 January, 2020 =
|
249 |
|
250 |
* Certificate verification public URL (Pro)
|
tutor.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Tutor LMS
|
|
4 |
Plugin URI: https://www.themeum.com/product/tutor-lms/
|
5 |
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.
|
6 |
Author: Themeum
|
7 |
-
Version: 1.5.
|
8 |
Author URI: http://themeum.com
|
9 |
Requires at least: 4.5
|
10 |
Tested up to: 5.3
|
@@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) )
|
|
17 |
/**
|
18 |
* Defined the tutor main file
|
19 |
*/
|
20 |
-
define('TUTOR_VERSION', '1.5.
|
21 |
define('TUTOR_FILE', __FILE__);
|
22 |
|
23 |
/**
|
4 |
Plugin URI: https://www.themeum.com/product/tutor-lms/
|
5 |
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.
|
6 |
Author: Themeum
|
7 |
+
Version: 1.5.1
|
8 |
Author URI: http://themeum.com
|
9 |
Requires at least: 4.5
|
10 |
Tested up to: 5.3
|
17 |
/**
|
18 |
* Defined the tutor main file
|
19 |
*/
|
20 |
+
define('TUTOR_VERSION', '1.5.1');
|
21 |
define('TUTOR_FILE', __FILE__);
|
22 |
|
23 |
/**
|