Tutor LMS – eLearning and online course solution - Version 1.8.5

Version Description

  • March 12, 2021 =

Update: "Start Meeting" button will be disabled for expired meetings Fix: Editors with Instructor role can now edit all post types except other's courses Fix: Yoast conflict with Frontend Course Builder

Download this release

Release Info

Developer themeum
Plugin Icon wp plugin Tutor LMS – eLearning and online course solution
Version 1.8.5
Comparing to
See all releases

Code changes from version 1.8.4 to 1.8.5

assets/js/tutor-front.js CHANGED
@@ -1847,7 +1847,7 @@ jQuery(document).ready(function ($) {
1847
  }(jQuery));
1848
 
1849
  // Bind event listener to container element
1850
- $('.tutor-tooltip-inside').tutor_tooltip();
1851
 
1852
 
1853
 
1847
  }(jQuery));
1848
 
1849
  // Bind event listener to container element
1850
+ jQuery('.tutor-tooltip-inside').tutor_tooltip();
1851
 
1852
 
1853
 
classes/Admin.php CHANGED
@@ -188,20 +188,25 @@ class Admin{
188
  }
189
 
190
  public function posts_clauses_request($clauses){
 
 
 
 
 
 
 
191
  global $wpdb;
192
 
193
  $user_id = get_current_user_id();
194
 
195
  $get_assigned_courses_ids = $wpdb->get_col($wpdb->prepare("SELECT meta_value from {$wpdb->usermeta} WHERE meta_key = '_tutor_instructor_course_id' AND user_id = %d", $user_id));
 
 
196
 
197
- $custom_author_query = "AND {$wpdb->posts}.post_author = {$user_id}";
198
- if (is_array($get_assigned_courses_ids) && count($get_assigned_courses_ids)){
199
- $in_query_pre = implode(',', $get_assigned_courses_ids);
200
- $custom_author_query = " AND ( {$wpdb->posts}.post_author = {$user_id} OR {$wpdb->posts}.ID IN({$in_query_pre}) ) ";
201
- }
202
-
203
  $clauses['where'] .= $custom_author_query;
204
-
205
  return $clauses;
206
  }
207
 
188
  }
189
 
190
  public function posts_clauses_request($clauses){
191
+
192
+ $user = wp_get_current_user();
193
+
194
+ if (in_array( 'administrator', $user->roles ) ) {
195
+ return $clauses;
196
+ }
197
+
198
  global $wpdb;
199
 
200
  $user_id = get_current_user_id();
201
 
202
  $get_assigned_courses_ids = $wpdb->get_col($wpdb->prepare("SELECT meta_value from {$wpdb->usermeta} WHERE meta_key = '_tutor_instructor_course_id' AND user_id = %d", $user_id));
203
+ $own_courses = is_array($get_assigned_courses_ids) ? $get_assigned_courses_ids : array();
204
+ $in_query_pre = implode(',', $own_courses);
205
 
206
+ $custom_author_query = " AND ({$wpdb->posts}.post_type!='courses' OR {$wpdb->posts}.post_author = {$user_id} OR {$wpdb->posts}.ID IN({$in_query_pre})) ";
207
+
 
 
 
 
208
  $clauses['where'] .= $custom_author_query;
209
+
210
  return $clauses;
211
  }
212
 
classes/Course.php CHANGED
@@ -351,10 +351,6 @@ class Course extends Tutor_Base {
351
  }
352
 
353
  do_action( "tutor_save_course_after", $post_ID, $post);
354
- /**
355
- * @since 1.8.0
356
- */
357
- setcookie( "tutor_course_updated", true, time() + 5 );
358
  }
359
 
360
  /**
351
  }
352
 
353
  do_action( "tutor_save_course_after", $post_ID, $post);
 
 
 
 
354
  }
355
 
356
  /**
languages/tutor.pot CHANGED
@@ -105,7 +105,7 @@ msgstr ""
105
  msgid "Pro"
106
  msgstr ""
107
 
108
- #: classes/Admin.php:54, classes/Admin.php:54, classes/Admin.php:478, classes/Gutenberg.php:55
109
  msgid "Tutor LMS"
110
  msgstr ""
111
 
@@ -117,7 +117,7 @@ msgstr ""
117
  msgid "Tags"
118
  msgstr ""
119
 
120
- #: classes/Admin.php:60, classes/Admin.php:60, classes/Course.php:433, classes/Options.php:557, classes/Quiz_Attempts_List.php:110, templates/student-public-profile.php:103, views/pages/students.php:8
121
  msgid "Students"
122
  msgstr ""
123
 
@@ -145,7 +145,7 @@ msgstr ""
145
  msgid "Add-ons"
146
  msgstr ""
147
 
148
- #: classes/Admin.php:80, classes/Admin.php:80, classes/Admin.php:442, classes/Utils.php:2467, templates/dashboard/settings.php:8, views/modal/add_quiz.php:21, views/modal/edit_quiz.php:31, templates/dashboard/notifications/profile-completion.php:14, templates/dashboard/settings/education.php:7, templates/dashboard/settings/skill.php:8
149
  msgid "Settings"
150
  msgstr ""
151
 
@@ -169,27 +169,27 @@ msgstr ""
169
  msgid "Status"
170
  msgstr ""
171
 
172
- #: classes/Admin.php:234, classes/Template.php:343
173
  msgid "Permission Denied"
174
  msgstr ""
175
 
176
- #: classes/Admin.php:437
177
  msgid "Uninstall"
178
  msgstr ""
179
 
180
- #: classes/Admin.php:451
181
  msgid "<strong style=\"color: #03bd24\">Documentation</strong>"
182
  msgstr ""
183
 
184
- #: classes/Admin.php:455
185
  msgid "<strong style=\"color: #03bd24\">Get Support</strong>"
186
  msgstr ""
187
 
188
- #: classes/Admin.php:477
189
  msgid "If you like %1$s please leave us a %2$s rating. A huge thanks in advance!"
190
  msgstr ""
191
 
192
- #: classes/Ajax.php:62, classes/Ajax.php:112, classes/Ajax.php:176, classes/Ajax.php:234, classes/Ajax.php:287, classes/Ajax.php:329, classes/Ajax.php:350, classes/Ajax.php:448, classes/Ajax.php:524, classes/Course.php:373, classes/Course.php:408, classes/Course.php:614, classes/Course.php:665, classes/Course.php:702, classes/Course.php:715, classes/Instructor.php:244, classes/Lesson.php:110, classes/Lesson.php:149, classes/Lesson.php:211, classes/Quiz.php:140, classes/Quiz.php:470, classes/Quiz.php:507, classes/Quiz.php:597, classes/Quiz.php:643, classes/Quiz.php:687, classes/Quiz.php:726, classes/Quiz.php:749, classes/Quiz.php:845, classes/Quiz.php:868, classes/Quiz.php:889, classes/Quiz.php:1000, classes/Quiz.php:1045, classes/Quiz.php:1123, classes/Quiz.php:1183, classes/Quiz.php:1205, classes/Q_and_A.php:71, templates/dashboard/registration.php:11
193
  msgid "Access Denied"
194
  msgstr ""
195
 
@@ -285,55 +285,55 @@ msgstr ""
285
  msgid "Video"
286
  msgstr ""
287
 
288
- #: classes/Course.php:134, classes/Course.php:1244, views/options/options_generator.php:2
289
  msgid "Tutor Settings"
290
  msgstr ""
291
 
292
- #: classes/Course.php:418
293
  msgid "Topic has been updated"
294
  msgstr ""
295
 
296
- #: classes/Course.php:432, classes/Options.php:423, classes/Post_types.php:172
297
  msgid "Lessons"
298
  msgstr ""
299
 
300
- #: classes/Course.php:434, templates/course-filter/filters.php:73, templates/dashboard/earning/statement.php:30
301
  msgid "Price"
302
  msgstr ""
303
 
304
- #: classes/Course.php:514
305
  msgid "Please Sign In first"
306
  msgstr ""
307
 
308
- #: classes/Course.php:562, classes/Lesson.php:303
309
  msgid "Please Sign-In"
310
  msgstr ""
311
 
312
- #: classes/Course.php:647
313
  msgid "<p>No instructor available or you have already added maximum instructors</p>"
314
  msgstr ""
315
 
316
- #: classes/Course.php:652
317
  msgid "To add unlimited multiple instructors in your course, get %sTutor LMS Pro%s"
318
  msgstr ""
319
 
320
- #: classes/Course.php:1079
321
  msgid "complete all lessons to mark this course as complete"
322
  msgstr ""
323
 
324
- #: classes/Course.php:1116
325
  msgid "You have to pass %s quizzes to complete this course."
326
  msgstr ""
327
 
328
- #: classes/Course.php:1223
329
  msgid "Make This Course Public"
330
  msgstr ""
331
 
332
- #: classes/Course.php:1225
333
  msgid "No enrollment required."
334
  msgstr ""
335
 
336
- #: classes/Course.php:1233
337
  msgid "Disable Q&A"
338
  msgstr ""
339
 
@@ -2765,7 +2765,7 @@ msgstr ""
2765
  msgid "Lesson List"
2766
  msgstr ""
2767
 
2768
- #: templates/single-preview-lesson.php:199, templates/single-quiz.php:35, templates/single/assignment/content.php:31, templates/single/lesson/content.php:37, templates/single/quiz/single_quiz_contents.php:14
2769
  msgid "Go to Course Home"
2770
  msgstr ""
2771
 
@@ -2785,7 +2785,7 @@ msgstr ""
2785
  msgid "Biography"
2786
  msgstr ""
2787
 
2788
- #: templates/course-filter/filters.php:9, templates/dashboard/create-course.php:155, templates/loop/course-continue.php:19, templates/loop/course-in-cart.php:20, templates/loop/course-price-edd.php:20, templates/loop/course-price-woocommerce.php:19, templates/loop/course-price.php:19, views/metabox/course-add-edd-product-metabox.php:59, views/metabox/course-add-product-metabox.php:66, templates/single/course/wc-price-html.php:23
2789
  msgid "Free"
2790
  msgstr ""
2791
 
@@ -2861,103 +2861,103 @@ msgstr ""
2861
  msgid "Course: "
2862
  msgstr ""
2863
 
2864
- #: templates/dashboard/create-course.php:37, views/modal/edit_quiz.php:253, views/modal/edit_quiz.php:340
2865
  msgid "Save"
2866
  msgstr ""
2867
 
2868
- #: templates/dashboard/create-course.php:43
2869
  msgid "Preview"
2870
  msgstr ""
2871
 
2872
- #: templates/dashboard/create-course.php:51, templates/dashboard/create-course.php:210
2873
  msgid "Submit for Review"
2874
  msgstr ""
2875
 
2876
- #: templates/dashboard/create-course.php:47, templates/dashboard/create-course.php:208
2877
  msgid "Publish Course"
2878
  msgstr ""
2879
 
2880
- #: templates/dashboard/create-course.php:55
2881
  msgid "Exit"
2882
  msgstr ""
2883
 
2884
- #: templates/dashboard/create-course.php:78
2885
  msgid "Your course has been submitted to the admin. It will be published once it has been reviewed by the admins."
2886
  msgstr ""
2887
 
2888
- #: templates/dashboard/create-course.php:87, templates/dashboard/my-quiz-attempts.php:27, templates/dashboard/quiz-attempts.php:31, templates/dashboard/earning/statements.php:134, templates/single/quiz/previous-attempts.php:16
2889
  msgid "Course Info"
2890
  msgstr ""
2891
 
2892
- #: templates/dashboard/create-course.php:93
2893
  msgid "Course Title"
2894
  msgstr ""
2895
 
2896
- #: templates/dashboard/create-course.php:95
2897
  msgid "ex. Learn photoshop CS6 from scratch"
2898
  msgstr ""
2899
 
2900
- #: templates/dashboard/create-course.php:101, views/modal/question_form.php:113, templates/single/assignment/content.php:134, templates/single/course/course-content.php:26
2901
  msgid "Description"
2902
  msgstr ""
2903
 
2904
- #: templates/dashboard/create-course.php:119
2905
  msgid "Choose a category"
2906
  msgstr ""
2907
 
2908
- #: templates/dashboard/create-course.php:139
2909
  msgid "Course Price"
2910
  msgstr ""
2911
 
2912
- #: templates/dashboard/create-course.php:148
2913
  msgid "Set course price"
2914
  msgstr ""
2915
 
2916
- #: templates/dashboard/create-course.php:165
2917
  msgid "Course Thumbnail"
2918
  msgstr ""
2919
 
2920
- #: templates/dashboard/create-course.php:188
2921
  msgid "Important Guideline: %1$s 700x430 pixels %2$s %3$s File Support: %1$s jpg, .jpeg,. gif, or .png %2$s no text on the image."
2922
  msgstr ""
2923
 
2924
- #: templates/dashboard/create-course.php:190, views/metabox/video-metabox.php:106, views/modal/question_answer_edit_form.php:214, views/modal/question_answer_edit_form.php:177, views/modal/question_answer_edit_form.php:124, views/modal/question_answer_edit_form.php:34, views/modal/question_answer_form.php:230, views/modal/question_answer_form.php:201, views/modal/question_answer_form.php:157, views/modal/question_answer_form.php:48
2925
  msgid "Upload Image"
2926
  msgstr ""
2927
 
2928
- #: templates/dashboard/create-course.php:206
2929
  msgid "Save course as draft"
2930
  msgstr ""
2931
 
2932
- #: templates/dashboard/create-course.php:220
2933
  msgid "Course Upload Tips"
2934
  msgstr ""
2935
 
2936
- #: templates/dashboard/create-course.php:222
2937
  msgid "Set the Course Price option or make it free."
2938
  msgstr ""
2939
 
2940
- #: templates/dashboard/create-course.php:223
2941
  msgid "Standard size for the course thumbnail is 700x430."
2942
  msgstr ""
2943
 
2944
- #: templates/dashboard/create-course.php:224
2945
  msgid "Video section controls the course overview video."
2946
  msgstr ""
2947
 
2948
- #: templates/dashboard/create-course.php:225
2949
  msgid "Course Builder is where you create & organize a course."
2950
  msgstr ""
2951
 
2952
- #: templates/dashboard/create-course.php:226
2953
  msgid "Add Topics in the Course Builder section to create lessons, quizzes, and assignments."
2954
  msgstr ""
2955
 
2956
- #: templates/dashboard/create-course.php:227
2957
  msgid "Prerequisites refers to the fundamental courses to complete before taking this particular course."
2958
  msgstr ""
2959
 
2960
- #: templates/dashboard/create-course.php:228
2961
  msgid "Information from the Additional Data section shows up on the course single page."
2962
  msgstr ""
2963
 
105
  msgid "Pro"
106
  msgstr ""
107
 
108
+ #: classes/Admin.php:54, classes/Admin.php:54, classes/Admin.php:483, classes/Gutenberg.php:55
109
  msgid "Tutor LMS"
110
  msgstr ""
111
 
117
  msgid "Tags"
118
  msgstr ""
119
 
120
+ #: classes/Admin.php:60, classes/Admin.php:60, classes/Course.php:429, classes/Options.php:557, classes/Quiz_Attempts_List.php:110, templates/student-public-profile.php:103, views/pages/students.php:8
121
  msgid "Students"
122
  msgstr ""
123
 
145
  msgid "Add-ons"
146
  msgstr ""
147
 
148
+ #: classes/Admin.php:80, classes/Admin.php:80, classes/Admin.php:447, classes/Utils.php:2467, templates/dashboard/settings.php:8, views/modal/add_quiz.php:21, views/modal/edit_quiz.php:31, templates/dashboard/notifications/profile-completion.php:14, templates/dashboard/settings/education.php:7, templates/dashboard/settings/skill.php:8
149
  msgid "Settings"
150
  msgstr ""
151
 
169
  msgid "Status"
170
  msgstr ""
171
 
172
+ #: classes/Admin.php:239, classes/Template.php:343
173
  msgid "Permission Denied"
174
  msgstr ""
175
 
176
+ #: classes/Admin.php:442
177
  msgid "Uninstall"
178
  msgstr ""
179
 
180
+ #: classes/Admin.php:456
181
  msgid "<strong style=\"color: #03bd24\">Documentation</strong>"
182
  msgstr ""
183
 
184
+ #: classes/Admin.php:460
185
  msgid "<strong style=\"color: #03bd24\">Get Support</strong>"
186
  msgstr ""
187
 
188
+ #: classes/Admin.php:482
189
  msgid "If you like %1$s please leave us a %2$s rating. A huge thanks in advance!"
190
  msgstr ""
191
 
192
+ #: classes/Ajax.php:62, classes/Ajax.php:112, classes/Ajax.php:176, classes/Ajax.php:234, classes/Ajax.php:287, classes/Ajax.php:329, classes/Ajax.php:350, classes/Ajax.php:448, classes/Ajax.php:524, classes/Course.php:369, classes/Course.php:404, classes/Course.php:610, classes/Course.php:661, classes/Course.php:698, classes/Course.php:711, classes/Instructor.php:244, classes/Lesson.php:110, classes/Lesson.php:149, classes/Lesson.php:211, classes/Quiz.php:140, classes/Quiz.php:470, classes/Quiz.php:507, classes/Quiz.php:597, classes/Quiz.php:643, classes/Quiz.php:687, classes/Quiz.php:726, classes/Quiz.php:749, classes/Quiz.php:845, classes/Quiz.php:868, classes/Quiz.php:889, classes/Quiz.php:1000, classes/Quiz.php:1045, classes/Quiz.php:1123, classes/Quiz.php:1183, classes/Quiz.php:1205, classes/Q_and_A.php:71, templates/dashboard/registration.php:11
193
  msgid "Access Denied"
194
  msgstr ""
195
 
285
  msgid "Video"
286
  msgstr ""
287
 
288
+ #: classes/Course.php:134, classes/Course.php:1240, views/options/options_generator.php:2
289
  msgid "Tutor Settings"
290
  msgstr ""
291
 
292
+ #: classes/Course.php:414
293
  msgid "Topic has been updated"
294
  msgstr ""
295
 
296
+ #: classes/Course.php:428, classes/Options.php:423, classes/Post_types.php:172
297
  msgid "Lessons"
298
  msgstr ""
299
 
300
+ #: classes/Course.php:430, templates/course-filter/filters.php:73, templates/dashboard/earning/statement.php:30
301
  msgid "Price"
302
  msgstr ""
303
 
304
+ #: classes/Course.php:510
305
  msgid "Please Sign In first"
306
  msgstr ""
307
 
308
+ #: classes/Course.php:558, classes/Lesson.php:303
309
  msgid "Please Sign-In"
310
  msgstr ""
311
 
312
+ #: classes/Course.php:643
313
  msgid "<p>No instructor available or you have already added maximum instructors</p>"
314
  msgstr ""
315
 
316
+ #: classes/Course.php:648
317
  msgid "To add unlimited multiple instructors in your course, get %sTutor LMS Pro%s"
318
  msgstr ""
319
 
320
+ #: classes/Course.php:1075
321
  msgid "complete all lessons to mark this course as complete"
322
  msgstr ""
323
 
324
+ #: classes/Course.php:1112
325
  msgid "You have to pass %s quizzes to complete this course."
326
  msgstr ""
327
 
328
+ #: classes/Course.php:1219
329
  msgid "Make This Course Public"
330
  msgstr ""
331
 
332
+ #: classes/Course.php:1221
333
  msgid "No enrollment required."
334
  msgstr ""
335
 
336
+ #: classes/Course.php:1229
337
  msgid "Disable Q&A"
338
  msgstr ""
339
 
2765
  msgid "Lesson List"
2766
  msgstr ""
2767
 
2768
+ #: templates/single-preview-lesson.php:197, templates/single-quiz.php:35, templates/single/assignment/content.php:31, templates/single/lesson/content.php:37, templates/single/quiz/single_quiz_contents.php:14
2769
  msgid "Go to Course Home"
2770
  msgstr ""
2771
 
2785
  msgid "Biography"
2786
  msgstr ""
2787
 
2788
+ #: templates/course-filter/filters.php:9, templates/dashboard/create-course.php:154, templates/loop/course-continue.php:19, templates/loop/course-in-cart.php:20, templates/loop/course-price-edd.php:20, templates/loop/course-price-woocommerce.php:19, templates/loop/course-price.php:19, views/metabox/course-add-edd-product-metabox.php:59, views/metabox/course-add-product-metabox.php:66, templates/single/course/wc-price-html.php:23
2789
  msgid "Free"
2790
  msgstr ""
2791
 
2861
  msgid "Course: "
2862
  msgstr ""
2863
 
2864
+ #: templates/dashboard/create-course.php:36, views/modal/edit_quiz.php:253, views/modal/edit_quiz.php:340
2865
  msgid "Save"
2866
  msgstr ""
2867
 
2868
+ #: templates/dashboard/create-course.php:42
2869
  msgid "Preview"
2870
  msgstr ""
2871
 
2872
+ #: templates/dashboard/create-course.php:50, templates/dashboard/create-course.php:209
2873
  msgid "Submit for Review"
2874
  msgstr ""
2875
 
2876
+ #: templates/dashboard/create-course.php:46, templates/dashboard/create-course.php:207
2877
  msgid "Publish Course"
2878
  msgstr ""
2879
 
2880
+ #: templates/dashboard/create-course.php:54
2881
  msgid "Exit"
2882
  msgstr ""
2883
 
2884
+ #: templates/dashboard/create-course.php:77
2885
  msgid "Your course has been submitted to the admin. It will be published once it has been reviewed by the admins."
2886
  msgstr ""
2887
 
2888
+ #: templates/dashboard/create-course.php:86, templates/dashboard/my-quiz-attempts.php:27, templates/dashboard/quiz-attempts.php:31, templates/dashboard/earning/statements.php:134, templates/single/quiz/previous-attempts.php:16
2889
  msgid "Course Info"
2890
  msgstr ""
2891
 
2892
+ #: templates/dashboard/create-course.php:92
2893
  msgid "Course Title"
2894
  msgstr ""
2895
 
2896
+ #: templates/dashboard/create-course.php:94
2897
  msgid "ex. Learn photoshop CS6 from scratch"
2898
  msgstr ""
2899
 
2900
+ #: templates/dashboard/create-course.php:100, views/modal/question_form.php:113, templates/single/assignment/content.php:134, templates/single/course/course-content.php:26
2901
  msgid "Description"
2902
  msgstr ""
2903
 
2904
+ #: templates/dashboard/create-course.php:118
2905
  msgid "Choose a category"
2906
  msgstr ""
2907
 
2908
+ #: templates/dashboard/create-course.php:138
2909
  msgid "Course Price"
2910
  msgstr ""
2911
 
2912
+ #: templates/dashboard/create-course.php:147
2913
  msgid "Set course price"
2914
  msgstr ""
2915
 
2916
+ #: templates/dashboard/create-course.php:164
2917
  msgid "Course Thumbnail"
2918
  msgstr ""
2919
 
2920
+ #: templates/dashboard/create-course.php:187
2921
  msgid "Important Guideline: %1$s 700x430 pixels %2$s %3$s File Support: %1$s jpg, .jpeg,. gif, or .png %2$s no text on the image."
2922
  msgstr ""
2923
 
2924
+ #: templates/dashboard/create-course.php:189, views/metabox/video-metabox.php:106, views/modal/question_answer_edit_form.php:214, views/modal/question_answer_edit_form.php:177, views/modal/question_answer_edit_form.php:124, views/modal/question_answer_edit_form.php:34, views/modal/question_answer_form.php:230, views/modal/question_answer_form.php:201, views/modal/question_answer_form.php:157, views/modal/question_answer_form.php:48
2925
  msgid "Upload Image"
2926
  msgstr ""
2927
 
2928
+ #: templates/dashboard/create-course.php:205
2929
  msgid "Save course as draft"
2930
  msgstr ""
2931
 
2932
+ #: templates/dashboard/create-course.php:219
2933
  msgid "Course Upload Tips"
2934
  msgstr ""
2935
 
2936
+ #: templates/dashboard/create-course.php:221
2937
  msgid "Set the Course Price option or make it free."
2938
  msgstr ""
2939
 
2940
+ #: templates/dashboard/create-course.php:222
2941
  msgid "Standard size for the course thumbnail is 700x430."
2942
  msgstr ""
2943
 
2944
+ #: templates/dashboard/create-course.php:223
2945
  msgid "Video section controls the course overview video."
2946
  msgstr ""
2947
 
2948
+ #: templates/dashboard/create-course.php:224
2949
  msgid "Course Builder is where you create & organize a course."
2950
  msgstr ""
2951
 
2952
+ #: templates/dashboard/create-course.php:225
2953
  msgid "Add Topics in the Course Builder section to create lessons, quizzes, and assignments."
2954
  msgstr ""
2955
 
2956
+ #: templates/dashboard/create-course.php:226
2957
  msgid "Prerequisites refers to the fundamental courses to complete before taking this particular course."
2958
  msgstr ""
2959
 
2960
+ #: templates/dashboard/create-course.php:227
2961
  msgid "Information from the Additional Data section shows up on the course single page."
2962
  msgstr ""
2963
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: lms, course, elearning, education, learning management system
5
  Requires at least: 5.3
6
  Tested up to: 5.7
7
  Requires PHP: 7.0
8
- Stable tag: 1.8.4
9
  License: GPLv3
10
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -241,6 +241,12 @@ Tutor enables you to use any third party plugins without facing any compatibilit
241
 
242
  == Changelog ==
243
 
 
 
 
 
 
 
244
  = 1.8.4 - March 04, 2021 =
245
 
246
  New: Ordering option in Zoom meeting list
5
  Requires at least: 5.3
6
  Tested up to: 5.7
7
  Requires PHP: 7.0
8
+ Stable tag: 1.8.5
9
  License: GPLv3
10
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
11
 
241
 
242
  == Changelog ==
243
 
244
+ = 1.8.5 - March 12, 2021 =
245
+
246
+ Update: "Start Meeting" button will be disabled for expired meetings
247
+ Fix: Editors with Instructor role can now edit all post types except other's courses
248
+ Fix: Yoast conflict with Frontend Course Builder
249
+
250
  = 1.8.4 - March 04, 2021 =
251
 
252
  New: Ordering option in Zoom meeting list
templates/dashboard/create-course.php CHANGED
@@ -10,12 +10,11 @@ if ( ! defined( 'ABSPATH' ) )
10
 
11
  global $post;
12
 
 
13
  do_action('tutor_load_template_before', 'dashboard.create-course', null);
14
 
15
  $course_id = get_the_ID();
16
  $can_publish_course = (bool) tutor_utils()->get_option('instructor_can_publish_course') || current_user_can('administrator');
17
-
18
- get_tutor_header(true);
19
  ?>
20
 
21
  <?php do_action('tutor/dashboard_course_builder_before'); ?>
@@ -73,7 +72,7 @@ get_tutor_header(true);
73
  $instructor_can_publish = tutils()->get_option('instructor_can_publish_course');
74
  ?>
75
  <?php if(current_user_can('tutor_instructor') && !current_user_can('administrator')):?>
76
- <?php if(isset($_COOKIE['tutor_course_updated']) && !$instructor_can_publish):?>
77
  <div class="tutor-alert tutor-alert-info">
78
  <?php _e('Your course has been submitted to the admin. It will be published once it has been reviewed by the admins.','tutor');?>
79
  </div>
10
 
11
  global $post;
12
 
13
+ get_tutor_header(true);
14
  do_action('tutor_load_template_before', 'dashboard.create-course', null);
15
 
16
  $course_id = get_the_ID();
17
  $can_publish_course = (bool) tutor_utils()->get_option('instructor_can_publish_course') || current_user_can('administrator');
 
 
18
  ?>
19
 
20
  <?php do_action('tutor/dashboard_course_builder_before'); ?>
72
  $instructor_can_publish = tutils()->get_option('instructor_can_publish_course');
73
  ?>
74
  <?php if(current_user_can('tutor_instructor') && !current_user_can('administrator')):?>
75
+ <?php if(isset($_COOKIE['course_submit_for_review']) && !$instructor_can_publish):?>
76
  <div class="tutor-alert tutor-alert-info">
77
  <?php _e('Your course has been submitted to the admin. It will be published once it has been reviewed by the admins.','tutor');?>
78
  </div>
templates/single-preview-lesson.php CHANGED
@@ -180,8 +180,6 @@ $enable_spotlight_mode = tutor_utils()->get_option('enable_spotlight_mode');
180
 
181
  <?php
182
 
183
- do_action('tutor_lesson/single/before/content');
184
-
185
  $jsonData = array();
186
  $jsonData['post_id'] = get_the_ID();
187
  $jsonData['best_watch_time'] = 0;
180
 
181
  <?php
182
 
 
 
183
  $jsonData = array();
184
  $jsonData['post_id'] = get_the_ID();
185
  $jsonData['best_watch_time'] = 0;
tutor.php CHANGED
@@ -4,10 +4,10 @@ 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.8.4
8
  Author URI: https://themeum.com
9
  Requires at least: 4.5
10
- Tested up to: 5.3
11
  License: GPLv2 or later
12
  Text Domain: tutor
13
  */
@@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) )
17
  /**
18
  * Defined the tutor main file
19
  */
20
- define( 'TUTOR_VERSION', '1.8.4' );
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.8.5
8
  Author URI: https://themeum.com
9
  Requires at least: 4.5
10
+ Tested up to: 5.7
11
  License: GPLv2 or later
12
  Text Domain: tutor
13
  */
17
  /**
18
  * Defined the tutor main file
19
  */
20
+ define( 'TUTOR_VERSION', '1.8.5' );
21
  define( 'TUTOR_FILE', __FILE__ );
22
 
23
  /**