| @@ -1,1071 +1,1071 @@ | ||
| 1 | -= 4.2.7.5 (2024-12-17) = | |
| 2 | -~ Added: option Price prefix, Price suffix for course. | |
| 3 | -~ Fixed: shortcode [learn_press_button_course]. | |
| 4 | -~ Fixed: error status item's course, case option course set "no require enroll" (user enrolled). | |
| 5 | -~ Fixed: error lose tab on Profile when install SiteOrigin plugin. | |
| 6 | -~ Updated: library TomSelect, ChartJS to the latest. | |
| 7 | - | |
| 8 | -= 4.2.7.4 (2024-12-03) = | |
| 9 | -~ Fixed: image cover profile with theme Twenty Five. | |
| 10 | -~ Fixed: error some sites not show notes(Waring) on the Admin Dashboard. | |
| 11 | -~ Fixed: security. | |
| 12 | -~ Tweak order show material on the item lesson. | |
| 13 | -~ Tweak load text domain compatible with WP 6.7 and later. | |
| 14 | -~ Tweak: format_human_time_diff method. | |
| 15 | -~ Tweak: UserItemModel, UserCourseModel, UserModel, CourseModel classes. | |
| 16 | -~ Deprecated: get_info_extra_for_fast_query method. | |
| 17 | -~ Deprecated: _learn_press_usort_terms_by_ID, learn_press_course_item_format_exclude, learn_press_get_course_curriculum, learn_press_is_enrolled_course, learn_press_get_user_course_statuslearn_press_is_free_course, learn_press_course_enroll_required, learn_press_search_post_excerpt, learn_press_course_add_support_item_type, learn_press_course_add_support_item_type, learn_press_get_user_question_answer, need_to_updating, learn_press_get_course_sections, lean_press_get_course_sections, learn_press_get_course_item_url, learn_press_edit_item_link, learn_press_get_course_results_tooltip. | |
| 18 | -~ Set cache get instructors API for App. | |
| 19 | -~ Added: get_i18n_string_plural method on the class LP_Helper. | |
| 20 | - | |
| 21 | -= 4.2.7.3 (2024-11-12) = | |
| 22 | -~ Fixed: error course private admin/author can't see on the frontend. | |
| 23 | -~ Fixed: only show label "Final" of Quiz when choose "Evaluate via results of the final quiz". | |
| 24 | -~ Fixed: send mail enroll for user Guest not exists user. | |
| 25 | -~ Tweak: enroll/purchase course buttons. | |
| 26 | -~ Tweak: condition can enroll/purchase course. | |
| 27 | -~ Tweak: API enroll/purchase course. | |
| 28 | -~ Tweak: when order completed. | |
| 29 | -~ Tweak: set upload Avatar to PNG, instead of JPG. | |
| 30 | -~ Deprecated: hooks learn-press/user/can-enroll-course, learn-press/user/can-purchase-course. Replace to learn-press/user/can-enroll/course, learn-press/user/can-purchase/course. | |
| 31 | - | |
| 32 | -= 4.2.7.2 (2024-10-21) = | |
| 33 | -~ Fixed: security. | |
| 34 | -~ Fixed: set size for Gravatar user. | |
| 35 | -~ Fixed: slug item's course use urldecode when edited. | |
| 36 | -~ Fixed: display name courses has special character Mobile. | |
| 37 | -~ Fixed: error save Enable/Disable all emails. | |
| 38 | -~ Added: get_all_items method for LP_Order class, for fix case "Paid Memberships" assign more than 50 courses. | |
| 39 | -~ Added: cover image feature on the Profile page. | |
| 40 | -~ Tweak: handle tomSelect. | |
| 41 | -~ Tweak: class LP_Datetime. | |
| 42 | -~ Tweak: style page Archive Courses. | |
| 43 | -~ Tweak: style page Profile. | |
| 44 | -~ Tweak: layout Offline course. | |
| 45 | -~ Update: lp icon fonts. | |
| 46 | - | |
| 47 | -= 4.2.7.1 (2024-09-11) = | |
| 48 | -~ Fixed: security. | |
| 49 | -~ Use TomSelect instead of Select2 on settings. | |
| 50 | -~ Fixed: minor bugs. | |
| 51 | - | |
| 52 | -= 4.2.7 (2024-08-27) = | |
| 53 | -~ Added: feature course offline. | |
| 54 | -~ Added: duration info for App API list courses. | |
| 55 | -~ Tweak: API get instructor info. | |
| 56 | -~ Fixed: error empty email content reset password. | |
| 57 | -~ Fixed: error empty image header. | |
| 58 | -~ Fixed: error create new section not send section_order. | |
| 59 | -~ Fixed: case search LP orders by user. | |
| 60 | -~ Fixed: error sort by total on list orders. | |
| 61 | - | |
| 62 | -= 4.2.6.9.4 (2024-08-07) = | |
| 63 | -~ Fixed: security. | |
| 64 | - | |
| 65 | -= 4.2.6.9.3 (2024-08-02) = | |
| 66 | -~ Tweak: added courses to LP Order manual. | |
| 67 | -~ Tweak: list orders status trash. | |
| 68 | -~ Tweak: message out of stock, no enroll requirement. | |
| 69 | -~ Fixed: material lesson display with case no enroll requirement. | |
| 70 | -~ Fixed: error not show email on Order detail when buy with Guest. | |
| 71 | -~ Fixed: error can't remove empty fields on "Extra Information" options. | |
| 72 | -~ Fixed: error clean break row (\n) on "Featured review" option. | |
| 73 | -~ Fixed: query Statistics by role. | |
| 74 | -~ Fixed: error max student when user bought. | |
| 75 | -~ Fixed: case no enroll requirement with course price. | |
| 76 | -~ Remove: jquery-ui-timepicker-addon jquery library. | |
| 77 | - | |
| 78 | -= 4.2.6.9.2 (2024-07-25) = | |
| 79 | -~ Fixed: error lose section when update section of course. | |
| 80 | - | |
| 81 | -= 4.2.6.9.1 (2024-07-24) = | |
| 82 | -~ Fixed: error check paths override of theme. | |
| 83 | - | |
| 84 | -= 4.2.6.9 (2024-07-24) = | |
| 85 | -~ Fixed: security. | |
| 86 | -~ Optimize courses. | |
| 87 | -~ Create table learnpress_courses from posts to query faster. | |
| 88 | -~ Tweak: choose users when create manual LP Order. | |
| 89 | -~ Tweak: filed search instructor on list courses, orders, lessons, quizzes,... | |
| 90 | -~ Tweak: get options list author via API when edit courses (make edit load screen edit courses faster). | |
| 91 | -~ Fixed: show tab material with course no require enroll. | |
| 92 | - | |
| 93 | -= 4.2.6.8.2 (2024-06-28) = | |
| 94 | -~ Added: function retrieve_password_message override message reset password. | |
| 95 | -~ Fixed: security. | |
| 96 | -~ Fixed: style login/register for Divi theme. | |
| 97 | -~ Fixed: responsive curriculum. | |
| 98 | - | |
| 99 | -= 4.2.6.8.1 (2024-06-03) = | |
| 100 | -~ Fixed: security. | |
| 101 | -~ Fixed: query by status on list LP Orders. | |
| 102 | -~ Fixed: minor bugs. | |
| 103 | -~ Added: translate text grid, list. | |
| 104 | - | |
| 105 | -= 4.2.6.8 (2024-05-27) = | |
| 106 | -~ Fixed: error create answers question. | |
| 107 | -~ Fixed: minor bugs. | |
| 108 | - | |
| 109 | -= 4.2.6.7 (2024-05-20) = | |
| 110 | -~ Fixed: security. | |
| 111 | -~ Fixed: error conflict with CookieYes plugin. | |
| 112 | -~ Fixed: sale course price with config timezone of WordPress. | |
| 113 | -~ Optimize: style. | |
| 114 | -~ Remove Font Awesome and replace it with Font LearnPress. | |
| 115 | -~ Tweak: query search LP Order. | |
| 116 | - | |
| 117 | -= 4.2.6.6 (2024-05-09) = | |
| 118 | -~ Fixed: security. | |
| 119 | -~ Fixed: delete user item when remove order item. | |
| 120 | -~ Tweak: material files feature. | |
| 121 | -~ Excluded: questions from search via param ?s of WordPress. | |
| 122 | -~ Compare the sale dates of courses through WordPress's Timezone. | |
| 123 | - | |
| 124 | -= 4.2.6.5 (2024-04-17) = | |
| 125 | -~ Fixed: security. | |
| 126 | -~ Added: option "Load courses of subcategory", get all the courses in the child category that are not selected in the parent category. | |
| 127 | -~ Added: option "Number level category want to show" for widget course filter. | |
| 128 | -~ Added: option "show/hide author Admin on list instructors". | |
| 129 | - | |
| 130 | -= 4.2.6.4 (2024-04-01) = | |
| 131 | -~ Compatible with WordPress 6.5. | |
| 132 | -~ Fixed: security. | |
| 133 | -~ Fixed: error remove question_anwsermeta when create new post question. | |
| 134 | -~ Fixed: compatible PHP8 on get_materials_by_item method. | |
| 135 | -~ Fixed: minor bug save order on the backend. | |
| 136 | -~ Fixed: error wrong link continue item, reason by old data still save item assigned to course, but deleted on post. | |
| 137 | -~ Fixed: minor bug profile shortcode. | |
| 138 | -~ Fixed: error shortcode list courses when add on Elementor. | |
| 139 | -~ Deprecated: get_downloadable_material method. | |
| 140 | - | |
| 141 | -= 4.2.6.3 (2024-02-29) = | |
| 142 | -~ Fixed: error wrong avatar's instructor. | |
| 143 | -~ Fixed: error page Profile with user not login. | |
| 144 | - | |
| 145 | -= 4.2.6.2 (2024-02-28) = | |
| 146 | -~ Added: param lang on url when submit filter courses. | |
| 147 | -~ Added: ProfileOrdersTemplate show layout orders on the Profile page. | |
| 148 | -~ Tweak: get_first_item_id method. | |
| 149 | -~ Tweak: methods Profile, templates Profile. | |
| 150 | -~ Fixed: error js hiddenQuestions.find not a function. | |
| 151 | -~ Fixed: avatar url profile with old value. | |
| 152 | -~ Fixed: error payment PayPal with Currency EUR. | |
| 153 | -~ Check user current can view content of tab Profile. | |
| 154 | -~ Deprecated hook 'learn-press/profile/orders', dashboard_featured_courses, dashboard_latest_courses, tab_dashboard methods. | |
| 155 | - | |
| 156 | -= 4.2.6.1 (2024-02-20) = | |
| 157 | -~ Fixed: missing translate on "html_count_student" function. | |
| 158 | -~ Fixed: missing translate on profile avatar function. | |
| 159 | -~ Fixed: error when only has a payment method, will be not show payment form. | |
| 160 | -~ Fixed: error widget list courses elementor with theme override content-course.php. | |
| 161 | -~ Fixed: course query filter with polylang. | |
| 162 | - | |
| 163 | -= 4.2.6 (2024-01-29) = | |
| 164 | -~ Tweak: courses js. | |
| 165 | -~ Tweak: course filter js. | |
| 166 | -~ Added: some class has -no-css for purpose not set style on this class. | |
| 167 | -~ Added: fake student on count students show on list courses. | |
| 168 | -~ Added: get_tags function for single courses. | |
| 169 | -~ Tweak: checkout js, not use serializeJSON() of JQuery. | |
| 170 | -~ Added: defer js some script. | |
| 171 | -~ Fixed: add param lang if exist for loadAjax. | |
| 172 | -~ Added: option "Class of list courses want to filter" on the Widget Filter Courses. | |
| 173 | -~ Added: icon drag material. | |
| 174 | -~ Remove callback hook learn-press/before-courses-loop-item, learn-press/after-courses-loop-item. | |
| 175 | -~ Fixed: code searching post by taxonomies make error block Woocommerce. | |
| 176 | - | |
| 177 | -= 4.2.5.9 (2024-01-09) = | |
| 178 | -~ Added: show notification addons bought near expire support. | |
| 179 | -~ Fixed: error "Fib in blank" question case duplicate, when submit quiz wrong result. | |
| 180 | -~ Fixed widget course filter: error WPML handle wrong if link send not param lang. | |
| 181 | - | |
| 182 | -= 4.2.5.8 (2023-12-25) = | |
| 183 | -~ Fixed: security. | |
| 184 | -~ Fixed: translate some text. | |
| 185 | -~ Tweak: layout list courses, set hooks for override, will soon stop support override template file. | |
| 186 | -~ Fixed: clear cache quiz question_ids when add/remove/delete/clone question on the quiz. | |
| 187 | -~ Added: code use for flutter. | |
| 188 | - | |
| 189 | -= 4.2.5.7 (2023-12-06) = | |
| 190 | -~ Added: new feature "Assign/Unassign Courses" on the Tools Backend. | |
| 191 | -~ Added: courses filter support multiple language. | |
| 192 | -~ Dev: widget elementor filter courses. | |
| 193 | -~ Dev: widget elementor list courses. | |
| 194 | -~ Fixed: save sale price. | |
| 195 | - | |
| 196 | -= 4.2.5.6 (2023-11-24) = | |
| 197 | -~ Tweak: logic load Widget Filter Courses. | |
| 198 | -~ Dev: assign/unassign course to user. | |
| 199 | -~ Fixed: error still show price when user has bought course but not start course. | |
| 200 | -~ Fixed: search suggest courses on Widget Filter Courses. | |
| 201 | -~ Fixed: not call function calculate price when edit course with user is instructor. | |
| 202 | - | |
| 203 | -= 4.2.5.5 (2023-11-16) = | |
| 204 | -~ Fixed: security issue. | |
| 205 | -~ Added: new feature Statistic on the Backend. | |
| 206 | -~ Fixed: minor bug material. | |
| 207 | -~ Added: strategy defer/async for some script (WP 6.3 or higher will run). | |
| 208 | -~ Fixed: label 'Free' not show on the single free course. | |
| 209 | -~ Fixed: error sanitize key, make certificate can't save. | |
| 210 | - | |
| 211 | -= 4.2.5.4 (2023-11-07) = | |
| 212 | -~ Fixed: security issue. | |
| 213 | -~ Tweak: display Category for filter courses. | |
| 214 | -~ Added: attribute disable if filter count = 0. | |
| 215 | -~ Tweak: widgets.js use fetch instead of wp.apiFetch. | |
| 216 | -~ Added: page tool clear cache. | |
| 217 | - | |
| 218 | -= 4.2.5.3 (2023-11-02) = | |
| 219 | -~ Fixed: security issue. | |
| 220 | -~ Tweak: only show 1 level categories right behind cate parent, on the widget "Course Filter". | |
| 221 | -~ Added: method count students enrolled of course. | |
| 222 | -~ Added: method count courses free. | |
| 223 | -~ Added: cache for count. | |
| 224 | - | |
| 225 | -= 4.2.5.3 (2023-10-27) = | |
| 226 | -~ Fixed: security issue. | |
| 227 | -~ Fixed: miss hook start quiz, retake quiz. | |
| 228 | -~ Fixed: minor bug material. | |
| 229 | -~ Fixed: error same course when access any single course. | |
| 230 | -~ Fixed: error don't hide info price/free when user enrolled course. | |
| 231 | - | |
| 232 | -= 4.2.5.2 (2023-10-24) = | |
| 233 | -~ Fixed: security issue. | |
| 234 | -~ Compatible with WP 6.4. | |
| 235 | - | |
| 236 | -= 4.2.5 (2023-10-19) = | |
| 237 | -~ Tweak: start quiz, retake quiz. | |
| 238 | -~ Tweaks: icon social. | |
| 239 | -~ Fixed: error font Arabic when export invoice. | |
| 240 | -~ Fixed: minus point when skip question. | |
| 241 | -~ Fixed: error duplicate message "out of stock" on the single course. | |
| 242 | -~ Fixed: error not show material of lesson. | |
| 243 | -~ Fixed: error set 0 to not show material. | |
| 244 | - | |
| 245 | -= 4.2.4 (2023-10-03) = | |
| 246 | -~ Fixed: error Paypal Standard (use IPN), replace to use API REST, client ID, client secret. | |
| 247 | -~ Clean resource. | |
| 248 | -~ Check load Widget Elementor on hooks plugins_loaded. | |
| 249 | -~ Tweak: load Curriculum when edit course, query on Frontend. | |
| 250 | -~ Tweak: layout single instructor. | |
| 251 | -~ Fixed: error set Section Per Page = 0 or < -1. | |
| 252 | -~ Fixed: error set load curriculum item = 0. | |
| 253 | -~ Tweak: logic create/delete user_item. | |
| 254 | - | |
| 255 | -= 4.2.3.6 (2023-09-18) = | |
| 256 | -~ Tweak: display Date Time, time zone by format of WP. | |
| 257 | -~ Fixed: count Progress course on the Single Item. | |
| 258 | -~ Fixed: current item active on the Curriculum. | |
| 259 | -~ Fixed: error not show price course when user repurchase course. | |
| 260 | - | |
| 261 | -= 4.2.3.5 (2023-09-14) = | |
| 262 | -~ Tweak: checkout. | |
| 263 | -~ Fixed: case start quiz but user_item_id = 0. | |
| 264 | -~ Added: dynamic tag Course for Elementor. | |
| 265 | -~ Tweak: breadcrumb. | |
| 266 | -~ Set 404 if user not login, view page single instructor/no-slug-instructor. | |
| 267 | -~ Fixed: expire date, end date format i18n on Profile Page. | |
| 268 | - | |
| 269 | -= 4.2.3.4 (2023-08-24) = | |
| 270 | -~ Fixed: error when use same namespace class JWT library, with some plugin like Google Listings and Ads. | |
| 271 | - | |
| 272 | -= 4.2.3.3 (2023-08-08) = | |
| 273 | -~ Added: feature choose type Pagination when load courses on page Archive: navigation Number, Load more, Infinite scroll. | |
| 274 | -~ Added: feature "Downloadable Materials", manager can upload files document for each course, lesson, so student can download it. | |
| 275 | -~ Fixed: error with WPML, show wrong list courses with lang. | |
| 276 | -~ Fixed: sidebar Course Filter show wrong with Firefox. | |
| 277 | -~ Fixed: error fonts tiny with theme OceanWP. | |
| 278 | -~ Fixed: error 404 when view item's course with Polylang. | |
| 279 | -~ Fixed: SEO, show title of Category & Tag of Courses. | |
| 280 | -~ Tweak: checkout function. | |
| 281 | - | |
| 282 | -= 4.2.3.2 (2023-07-19) = | |
| 283 | -~ Added: widget filter courses, option enable fields want to filter, sort fields, option load widget on REST. | |
| 284 | -~ Added: Search course suggest (AJAX). | |
| 285 | -~ Added: shortcode filter courses [learn_press_filter_course]. | |
| 286 | -~ Fixed: error install/update Addon. | |
| 287 | - | |
| 288 | -= 4.2.3.1 (2023-07-05) = | |
| 289 | -~ Fixed: Security. | |
| 290 | -~ Item Course: completed, display Date Time by format WP. | |
| 291 | -~ Tweak: message of LearnPress. | |
| 292 | -~ Fixed: function “Add course to Order manual” | |
| 293 | - | |
| 294 | -= 4.2.3 (2023-07-03) = | |
| 295 | -~ Added: page list instructors. | |
| 296 | -~ Added: page single instructor. | |
| 297 | -~ Added: option set number instructor per page. | |
| 298 | -~ Added: shortcode show list instructors [learn_press_instructors]. | |
| 299 | -~ Added: shortcode show single instructor [learn_press_single_instructor]. | |
| 300 | -~ Auto add shortcode if page is list instructors or single instructor, if enable Elementor will not auto add. | |
| 301 | -~ Added: Widgets For Elementor: list instructors, instructor title, instructor description. | |
| 302 | -~ Added: Template default for list instructors on path "config/elementor/template-default", can import via Elementor. | |
| 303 | -~ Tweak: Widgets For Elementor: list courses, become a teacher, login form, register form. | |
| 304 | -~ Profile: added tab My Courses, display course attend of User. | |
| 305 | -~ Profile: tab My Courses, display statistic: total course enrolled, course in-progress, course finish, course passed, course failed. | |
| 306 | -~ Profile: tweak tab Courses, display course created by User (Admin, Instructor). | |
| 307 | -~ Profile: tab Courses, display statistic: total course created, course publish, course pending, total student, student in-progress. | |
| 308 | -~ Tweak: set default section_per_page, course_item_per_page = -1 to load full. | |
| 309 | -~ Added: format_human_time_diff method. | |
| 310 | -~ Tweak: get cart from session. | |
| 311 | -~ Check: $course->get_instructor() is null. | |
| 312 | -~ Added: hook do_action( 'lp/order-completed/update/user-item', $item, $order ), for case buy item not course. | |
| 313 | -~ Added: hook do_action( 'lp/order-pending/update/user-item', $item, $order ), for case buy item not course. | |
| 314 | -~ Added: nest_elements, print_sections methods on class Template, for easy override template without override file. | |
| 315 | -~ Tweak: statistic student/instructor on profile page. | |
| 316 | -~ Added: method "count_courses_of_author" instead "count_courses_publish_of_author" | |
| 317 | -~ Tweak: method "count_status_by_items" | |
| 318 | -~ Profile: added text "upload" translate on localize script. | |
| 319 | -~ Apply: add internal scripts to head on page List Instructors. | |
| 320 | -~ Fixed: error buy item with Guest, order is no item. | |
| 321 | -~ Fixed: Security Broken Access Control. | |
| 322 | -~ Added: hook login/register of WP on page LP Checkout for plugin captcha display. | |
| 323 | -~ Fixed: error 404 function comment on the lesson. | |
| 324 | - | |
| 325 | -= 4.2.2.4 (2023-04-04) = | |
| 326 | -~ Compatible theme Gutenberg. | |
| 327 | -~ Compatible WP 6.2. | |
| 328 | -~ Fixed: auto add shortcode Profile. | |
| 329 | -~ Show notification: Addons has new version. | |
| 330 | -~ Fixed: error buy with Guest display pending Order. | |
| 331 | -~ Tweak: shortcode learn_press_button_course. | |
| 332 | -~ Fixed: error display title on mobile app. | |
| 333 | -~ Lesson: stop support post-formats. | |
| 334 | - | |
| 335 | -= 4.2.2.3 (2023-03-21) = | |
| 336 | -~ Fixed: some error with Profile, LP_Profile_Tabs class. | |
| 337 | -~ Fixed: make some page builder like: elementor, visual composer work incorrect. | |
| 338 | -~ Remove implements ArrayAccess of LP_Query_List_Table class (to compatible with PHP8.1). | |
| 339 | - | |
| 340 | -= 4.2.2.2 (2023-03-09) = | |
| 341 | -~ Fixed: permalink item 404 when install "YoastSeo" plugin. | |
| 342 | -~ Fixed: error not show tab Avatar on Profile Page. | |
| 343 | -~ Modified: rewrite rules. | |
| 344 | - | |
| 345 | -= 4.2.2.1 (2023-03-03) = | |
| 346 | -~ Fixed: error link course with '%course_category%', on screen list courses Backend. | |
| 347 | -~ Fixed: some theme load only course on Archive Course Page. | |
| 348 | -~ Fixed: error not save basic info on Profile page. | |
| 349 | -~ Fixed: url current has symbol like الاعدادات. | |
| 350 | -~ Fixed: error not show message when save info Profile. | |
| 351 | - | |
| 352 | -= 4.2.2 (2023-03-01) = | |
| 353 | -~ Optimized performance. | |
| 354 | -~ Optimize: rewrite "add_rewrite_rules" method, only call on "admin_init" hook. | |
| 355 | -~ Optimize: flush_rewrite_rules only when save settings. | |
| 356 | -~ Optimize: not call get_available_payment_gateways on hook 'wp_loaded'. | |
| 357 | -~ Optimize: not call learn_press_get_current_profile_tab on hook 'init'. | |
| 358 | -~ Optimize: add thim_cache table for cache (apply for site not install plugin Object Cache - or cache not working). | |
| 359 | -~ Optimize: set/get/clear cache for count total students enrolled. | |
| 360 | -~ Optimize: set/get/clear cache user_course (user_items) data. | |
| 361 | -~ Optimize: only load class REST when call on url of API. | |
| 362 | -~ Optimize: modified set cookie session for user Guest(user not login). | |
| 363 | -~ Added: a slash to the end of the course item link. | |
| 364 | -~ Fixed: some functions make out of memory. | |
| 365 | -~ Fixed: some functions use static not correct make out of memory. | |
| 366 | -~ Deprecated "learn_press_get_the_course" function, replace with "learn_press_get_course" function. | |
| 367 | -~ Deprecated: "learn_press_get_current_url" function, replace with "LP_Helper::getUrlCurrent" method. | |
| 368 | -~ Temporary comment _get_theme_info, plugin info, because very low. | |
| 369 | -~ Comment: hook learn_press_lesson_comment_form_fields, learn_press_get_only_content_permalink, learn_press_lesson_before_delete_post | |
| 370 | - | |
| 371 | -= 4.2.1.1 (2023-02-04) = | |
| 372 | -~ Fixed: error js when add user on LP Order manual. | |
| 373 | -~ Modified: Not translate course slug base (permalink). | |
| 374 | - | |
| 375 | -= 4.2.1 (2023-02-03) = | |
| 376 | -~ Added: feature manager addons of LearnPress, download, update, activate, deactivate. | |
| 377 | -~ Fixed: style button. | |
| 378 | -~ Fixed: deprecated register widget elementor. | |
| 379 | -~ Added: 'get_evaluation_type' function. | |
| 380 | -~ Modified: 'get_passing_condition' function. | |
| 381 | -~ Added: 'get_evaluation_type' function. | |
| 382 | -~ Added: hook 'lp/course/extra-info/before-save'. | |
| 383 | -~ Added: hook 'learn-press/login-redirect'. | |
| 384 | -~ Added: hook 'learn-press/register-redirect'. | |
| 385 | -~ Added: "status" row on LP Order Receiver. | |
| 386 | -~ Fixed: error not set pagination page numbers questions when retake quiz. | |
| 387 | -~ Modified: "set_title_pages" function. | |
| 388 | -~ Modified: "get_order_status_html" function, now can translate status LP Order. | |
| 389 | -~ Fixed: error "load more" on Profile page. | |
| 390 | -~ Fixed: error can't set Sale price to 0. | |
| 391 | -~ Modified: step of input Passing Grade from 1 to 0.01. | |
| 392 | - | |
| 393 | -= 4.2.0 (2022-12-20) = | |
| 394 | -~ Fixed: compatibility with WordPress PHP 8.1. | |
| 395 | -~ Not implements ArrayAccess, Iterator, Countable of PHP on classes: LP_Datetime, LP_Session_Handler, LP_User_Item_Course, LP_User_Item, LP_Quiz_Results, LP_Course_Item, LP_Quiz, LP_Array_Access, LP_Profile_Tabs. | |
| 396 | -~ Except class LP_Query_List_Table we still keep implements ArrayAccess (will notice the warning, but don't worry, you only need to disable WP_DEBUG mode), because addons: learnpress-h5p(version 4.0.1 and lower), learnpress-assignment(version 4.0.7 and lower) require it. So you need to update to the higher version of these plugins to make sure. | |
| 397 | -~ Modified: LP_Datetime, deprecated method: toLocal, toRFC822, toUnix, setGMT, getSqlNullDate, addDuration, getPeriod. | |
| 398 | -~ Deprecated: get_time_remaining, get_time of the class LP_User_Item, get_finishing_type of the class LP_User_Item_Course. | |
| 399 | -~ Deprecated: get_course_remaining_time on the class LP_Abstract_User. | |
| 400 | -~ Modified: get_expiration_time, deprecated param $format (<a href='https://github.com/LearnPress/learnpress/commit/17502a02d5328c399f33ea1219f0c9e71f1a257d'>17502a0</a>). | |
| 401 | -~ Modified: class LP_Question_True_Or_False, LP_Question_Single_Choice, LP_Question_Multi_Choice, LP_Question_Fill_In_Blanks (<a href='https://github.com/LearnPress/learnpress/commit/3af1d1c78d3097f3d3b053ceecaf4264840eb1dc'>3af1d1c</a>). | |
| 402 | -~ Modified: class LP_Question, deprecated method: _get_default_answers, _filter_meta_box_meta, update_answer_orders (<a href='https://github.com/LearnPress/learnpress/commit/3af1d1c78d3097f3d3b053ceecaf4264840eb1dc'>3af1d1c</a>) | |
| 403 | -~ Modified: method 'get_answers' of class LP_Question (<a href='https://github.com/LearnPress/learnpress/commit/3af1d1c78d3097f3d3b053ceecaf4264840eb1dc#diff-24bccff44021f19220835ca960719a15beb4bbc8d3ffea086cccd6d42054ec7cR633'>3af1d1c</a>) | |
| 404 | -~ Deprecated: 'learn_press_course_question_permalink_friendly' function. | |
| 405 | -~ Added: 'LP_Question_Cache', LP_Session_Filter class. | |
| 406 | -~ Commented: 'learn_press_mark_user_just_logged_in' function. | |
| 407 | -~ Not store key 'order_awaiting_payment' in session, you need update 'learnpress-certificate' addon to version 4.0.4 or higher. | |
| 408 | -~ Not call: 'learn_press_clear_cart_after_payment' on hook 'get_header'. | |
| 409 | -~ Not call: 'learn_press_custom_checkout_cart' on hook 'learn_press_checkout_cart'. | |
| 410 | -~ Deprecated: 'learn_press_add_order' function. | |
| 411 | -~ Deprecated: learn_press_generate_transaction_object function. | |
| 412 | -~ Modified: LP_Shortcode_Checkout class. | |
| 413 | -~ Fixed: shortcode [learn_press_checkout] working right. | |
| 414 | -~ Deprecated: 'LP_Request_Handler' class, your need to update addons 'Course Review' (version 4.0.4 or higher), 'Wishlist' (version 4.0.4 or higher). | |
| 415 | -~ Not call 'learn_press_set_user_cookie_for_guest' function on hook 'wp'. | |
| 416 | -~ Commented: 'set_cookie' method on class LP_Request. <a href=''>c12c4b54</a> | |
| 417 | -~ Modified: 'LP_Session_Handler' class (<a href='https://github.com/LearnPress/learnpress/commit/c12c4b546548b750c3d05cb108162b3bee458d9b'>c12c4b54</a>). | |
| 418 | -~ Optimized: handle session. | |
| 419 | -~ Only set the cookie when the user does not log in. | |
| 420 | -~ When a user login is successful, the previous session of the guest user is deleted. | |
| 421 | -~ When a user logs out, expired sessions are deleted. | |
| 422 | -~ Modified: 'save_data' method of class LP_Session_Handler (<a href='https://github.com/LearnPress/learnpress/commit/c12c4b546548b750c3d05cb108162b3bee458d9b'>c12c4b5</a>). | |
| 423 | -~ Modified: 'get_cart_from_session', 'get_session_data', 'save_data' methods on class LP_Session_Handler. | |
| 424 | -~ Change name 'get_session' method to 'get_session_by_customer_id'. | |
| 425 | -~ Modified: 'update_session_timestamp', 'delete_session' methods on class LP_Session_Handler. | |
| 426 | -~ Modified: 'LP_Cart', optimize how to set session for cart, get cart items when called, instance of set on hook 'wp_loaded' always call, not call 'set_cart_cookies' when 'add_to_cart' method called. | |
| 427 | -~ Modified: 'calculate_totals' on class LP_Cart. | |
| 428 | -~ Deprecated: method 'get_cart_for_session' on class LP_Cart. | |
| 429 | -~ Modified: 'LP_Profile_Tabs' class. | |
| 430 | -~ Replace all access via array to fields and methods of classes LP_Query_List_Table, LP_Profile, LP_Profile_Tab. | |
| 431 | -~ Deprecated: 'offsetExists', 'offsetGet', 'get_current_question', 'get_question_position', 'check_question', 'get_question_link' methods LP_Quiz class. | |
| 432 | -~ Modified: 'create_order' method on class 'LP_Checkout'. | |
| 433 | -~ Deprecated: 'instructions' method on 'LP_Gateway_Offline_Payment' class. | |
| 434 | -~ Moved: settings permalink Profile to tab Permalinks. | |
| 435 | -~ Fixed security: inject SQL (CVE-2022-45820). | |
| 436 | -~ Fixed security: XSS. | |
| 437 | -~ Fixed: styles Backend, Frontend. | |
| 438 | -~ Remove save lesson preview on list lessons on the Backend. | |
| 439 | -~ Remove sortable between multiple section. | |
| 440 | -~ Modified: method "list_courses", change how call the template. | |
| 441 | -~ Checked: price is valid. | |
| 442 | -~ Fixed: search course in term with Polylang. | |
| 443 | -~ Modified: statistic of LP Order. | |
| 444 | -~ Checked: MathJax.Hub undefined. | |
| 445 | -~ Fixed: error json syntax API search courses, curriculum. | |
| 446 | - | |
| 447 | -= 4.1.7.3.2 (2022-11-18) - <a href='https://thimpress.com/learnpress-v4-1-7-3-2-update/' target='_blank' rel='noopener'>View detail</a> = | |
| 448 | -~ Added: tab permalink option. | |
| 449 | -~ Modified: remove border style on the tab single course. | |
| 450 | -~ Modified: style popup complete item. | |
| 451 | -~ Show: notice check wp_remote_get if the call fail. | |
| 452 | -~ Show: notice if LearnPress has beta version. | |
| 453 | -~ Changed: text 'Enable' to 'Sticky Quiz Paging' on the Advanced Settings. | |
| 454 | - | |
| 455 | -= 4.1.7.3.1 (2022-11-03) = | |
| 456 | -~ Fixed: error build missing styles. | |
| 457 | - | |
| 458 | -= 4.1.7.3 (2022-11-02) = | |
| 459 | -~ Updated: text grammar. | |
| 460 | -~ Modified: LP_DateTime class. | |
| 461 | -~ Added: Course category and tag to menu. | |
| 462 | -~ Changed: input type regular price, sale price to text. | |
| 463 | -~ Call quiz get_questions function to get_question_ids. | |
| 464 | -~ Fixed: upgrade LP3 to LP4 missing result of lesson. | |
| 465 | -~ Remove file class-lp-backward-plugins.php, class-lp-factory.php, class-lp-query-search.php, class-lp-course-utils.php, class-lp-rest-authentication.php | |
| 466 | -~ Remove code deprecated before. | |
| 467 | - | |
| 468 | -= 4.1.7.2 (2022-10-03) = | |
| 469 | -~ Removed: delete file mu-plugin (Moved to the plugin Thim Optimize). | |
| 470 | -~ Fixed: CVE-2022-3360 security. | |
| 471 | -~ Fixed: error "Quiz is not auto submitted when the time is expired". | |
| 472 | -~ Fixed: error "Completed item is not redirected to the next item". | |
| 473 | -~ Modified: Shortcode button LP. | |
| 474 | -~ Removed: delete shortcode 'learn_press_button_enroll'. We recommend using the shortcode 'learn_press_button_course' instead. | |
| 475 | -~ Fixed: error "Email content on one line when you save". | |
| 476 | - | |
| 477 | -= 4.1.7.1 (2022-09-16) = | |
| 478 | -~ Fixed: non-LP plugins causing errors. | |
| 479 | - | |
| 480 | -= 4.1.7 (2022-09-13) = | |
| 481 | -~ Fixed: IPN paypal. | |
| 482 | -~ Added: autocomplete meta-box field. | |
| 483 | -~ Fixed: h5p error in curriculum editor. | |
| 484 | -~ Modified: duplicate course, sections, items. | |
| 485 | -~ Handle multiple button Continue course. | |
| 486 | -~ Modified: has_completed_item() function. | |
| 487 | -~ Fixed: custom fields register not show on the Profile page. | |
| 488 | -~ Fixed: save order status. | |
| 489 | -~ Added: hook 'learn-press/user-item/expiration-time'. | |
| 490 | -~ Added: function duplicate question answer-meta when duplicate question. | |
| 491 | -~ Fixed: error show content of quiz when user doing questions. | |
| 492 | -~ Fixed: error fetch api has x-wp-nonce with cache expire. | |
| 493 | -~ Fixed: sidebar toggle on mobile with theme Eduma. | |
| 494 | -~ Added: autocomplete meta-box field. | |
| 495 | -~ Fixed: error not send mail when register user on page checkout. | |
| 496 | -~ Fixed: error wrong status graduation when set Passing Grade is 100% on Quiz. | |
| 497 | -~ Fixed: header, footer email of LP not detect variable. | |
| 498 | -~ Fixed: error duplicated items, section when double click. | |
| 499 | - | |
| 500 | -= 4.1.6.9.3 (2022-08-10) = | |
| 501 | -~ Fixed: show wrong shortcode on course, item's course. | |
| 502 | - | |
| 503 | -= 4.1.6.9.2 (2022-08-09) = | |
| 504 | -~ Fixed: show wrong special character (Ex: ü) on Section title, description. | |
| 505 | -~ Fixed: error on duplicate course, item function not same content old course, item. | |
| 506 | -~ Fixed: button sidebar toggle not show on default theme WP. | |
| 507 | -~ Fixed: ESC make error with payment gateway. | |
| 508 | - | |
| 509 | -= 4.1.6.9.1 (2022-08-04) = | |
| 510 | -~ Fixed: error ESC content of course, items' course make iframe, embed not working. | |
| 511 | -~ Fixed: error complete lesson, do quiz on API for App mobile. | |
| 512 | - | |
| 513 | -= 4.1.6.9 (2022-08-03) = | |
| 514 | -~ Modified: read items, read sections of course. (optimize read speed). | |
| 515 | -~ Modified: 'set_viewing_item' method. | |
| 516 | -~ Modified: set thumbnail image size on the 'Profile Page' by width setting on 'Avatar Dimensions'. | |
| 517 | -~ Fixed: error search no courses but return all (Archive courses). | |
| 518 | -~ Fixed: error LP_Shortcode_Course_Curriculum with Elementor. | |
| 519 | -~ Sanitize, ESC. | |
| 520 | -~ Deleted: folder attributes, files: 'class-lp-gdpr.php', 'class-lp-hard-cache.php', 'class-lp-repair-database.php', 'class-lp-utils.php'. | |
| 521 | -~ Clear, optimize codes. | |
| 522 | -~ Added: hook do_action 'lp/background/course/save'. | |
| 523 | -~ Added: hooks for addon LP - WPML. | |
| 524 | -~ Deprecated: methods 'load_curriculum'. | |
| 525 | -~ Style: FAQs on single course, spacing items progress, space in single tab. | |
| 526 | -~ Change: 'Course Item Per Page' set default is 10. | |
| 527 | - | |
| 528 | -= 4.1.6.8 (2022-07-05) = | |
| 529 | -~ Fixed: click pagination when enable 2 option Load Courses Ajax. | |
| 530 | -~ Added: loading, error message(if it has) when start quick. | |
| 531 | -~ Fixed: error sort by popular with theme Eduma. | |
| 532 | -~ Fixed: Wordfence denied param: "author", convert to "user" on API. | |
| 533 | -~ Fixed: query popular courses for app. | |
| 534 | -~ Added: return price format for app. | |
| 535 | -~ Added: API delete account for app. | |
| 536 | -~ Merged: addon Offline Payment. | |
| 537 | -~ Fixed: styles with themes: Avada, Divi, Flastsome, Bridget, Astra, The 7. | |
| 538 | -~ Fixed: security. | |
| 539 | - | |
| 540 | -= 4.1.6.7 (2022-06-20) = | |
| 541 | -~ Fixed: errors quiz when call API LP remove action 'wp_loaded'. | |
| 542 | -~ Fixed: some minor bugs. | |
| 543 | -~ Fixed: install tables for multiple sites. | |
| 544 | -~ Fixed: save settings always return tab General. | |
| 545 | -~ Fixed: layout 'select items' popup when edit course.= | |
| 546 | - | |
| 547 | -= 4.1.6.6 (2022-06-13) = | |
| 548 | -~ Fixed: security. | |
| 549 | -~ Added: option "Enable loading ajax Courses on the Archive Course page". | |
| 550 | -~ Added: option "No Page load Courses Ajax". | |
| 551 | - | |
| 552 | -= 4.1.6.5 (2022-05-16) = | |
| 553 | -~ Fixed: error with block theme 2022. | |
| 554 | -~ Fixed: error with LP Addon Frontend Editor. | |
| 555 | - | |
| 556 | -= 4.1.6.4 (2022-05-05) = | |
| 557 | -~ Modified: setup require tables for LearnPress when activate plugin. | |
| 558 | -~ Modified: setup wizard. | |
| 559 | -~ Optimized: code. | |
| 560 | -~ Fixed don't scroll to item of section > config "Section Per Page". | |
| 561 | - | |
| 562 | -= 4.1.6.3 (2022-04-20) = | |
| 563 | -~ Fixed: sort section of course. | |
| 564 | -~ Fixed: sort item of course's section when edit course. | |
| 565 | -~ Fixed: sometime call get_curriculum empty. | |
| 566 | -~ Modified: fixed when set seconds big (about 100 hours), can't convert to format time right. | |
| 567 | -~ Fixed: duplicate course not duplicate sections, items. | |
| 568 | -~ Fixed: error wp.media on page Email setting. | |
| 569 | -~ Fixed: count wrong order on the backend. | |
| 570 | - | |
| 571 | -= 4.1.6.2 (2022-04-04) = | |
| 572 | -~ Fixed: go to last item of section still show button "load more items". | |
| 573 | -~ Fixed: "Undefined" when click "load more sections" on theme Eduma. | |
| 574 | - | |
| 575 | -= 4.1.6.1 (2022-04-01) = | |
| 576 | -~ Optimize. | |
| 577 | -~ Fixed: error show input when retake Fill In Blank - off option "Show correct answer". | |
| 578 | -~ Modified: filter query courses API. | |
| 579 | -~ Hide load more item button which section it hide. | |
| 580 | -~ Fixed: save course is sale when edit course. | |
| 581 | -~ Added: hook "learn-press/user/quiz-finished". | |
| 582 | -~ Fixed: error site use sub-folder domain will be error 301 when checkout. | |
| 583 | -~ Fixed: error show "The item is not assigned to this course" on Page builder. | |
| 584 | -~ Fixed: error style RTL item-actions. | |
| 585 | -~ Fixed: case user guest buy course and not login, back to this course will not show button "purchase course". | |
| 586 | -~ Added: hook do_action( 'login_form' ) on the page LP Checkout, form "Login". | |
| 587 | - | |
| 588 | -= 4.1.6 (2022-03-14) = | |
| 589 | -~ Compatible: with "Polylang" plugin. | |
| 590 | -~ Compatible LP Shortcode with Elementor. | |
| 591 | -~ Compatible: with block theme (Gutenberg). | |
| 592 | -~ Added: set -1 value for no limit Retake Quiz. | |
| 593 | -~ Added: order by popular courses on API. | |
| 594 | -~ Fixed: case set duration quiz = 0. | |
| 595 | -~ Fixed: case set password for quiz. | |
| 596 | -~ Fixed: create new question didn't set type. | |
| 597 | -~ Fixed: when search global WP with ?s= will not search item's course and question not assign. | |
| 598 | -~ Fixed: "Active Courses" empty on the Profile page. | |
| 599 | -~ Fixed: security does not sanitise and escape the lp-dismiss-notice. | |
| 600 | -~ Fixed: error many times redirect when access link domain/type/not_found. | |
| 601 | -~ Fixed: compare string answer not set "Match case" type Fill In Blank Question. | |
| 602 | - | |
| 603 | -= 4.1.5 (2022-01-24) = | |
| 604 | -~ Modified: optimize, handle cache for query courses. | |
| 605 | -~ Added: meta key '_lp_regular_price'. | |
| 606 | -~ Modified: get price of course. | |
| 607 | -~ Added: "get_user_courses" function. | |
| 608 | -~ Fixed: security avatar image (Arbitrary Image Renaming). | |
| 609 | -~ Modified: upload avatar image. | |
| 610 | -~ Fixed: RTL style. | |
| 611 | -~ Modified: optimize load Curriculum via API, fast for big data (larger thousands items). | |
| 612 | - | |
| 613 | -= 4.1.4.1 (2021-12-22) = | |
| 614 | -~ Added: settings redirect when finish course. | |
| 615 | -~ Added: enqueue script by shortcode button purchase. | |
| 616 | -~ Fixed: error save value on the textarea format code HTML. | |
| 617 | -~ Fixed: error timezone is different UTC-0 will finish quiz soon. | |
| 618 | -~ Save info total items (quiz, question,...) of course when saving the course - improve performance. | |
| 619 | -~ Fixed: error change user Guest to another user on LP Order not save. | |
| 620 | -~ Fixed: Guest buy course with user exists. | |
| 621 | -~ Fixed: Guest buy course with create account. | |
| 622 | -~ Fixed: High CPU (many query) when user login view single course. | |
| 623 | -~ Fixed: No require enroll. | |
| 624 | -~ Changed: view course's user on the Backend to the profile's user. | |
| 625 | -~ Modified: submit quiz, get result course, quiz. | |
| 626 | -~ Fixed: query get orders on Profile page. | |
| 627 | -~ Fixed: query get orders by user (multiple user) on the Backend. | |
| 628 | -~ Modified: delete course will delete section, section_items, lp_user_items, user_itemmeta. | |
| 629 | -~ Saved: info total items of course when save course - to make call fast. | |
| 630 | -~ Rewrite: function count total items of the Course. | |
| 631 | -~ Fixed: get course id when click Get Passing Grade in Evaluate via results of the final quiz. | |
| 632 | -~ Fixed: count Unassigned questions. | |
| 633 | -~ Changed logic check "fill in blank" question: user answer right all fields will get point of question, one of answer wrong, the question is fail and get point = 0. | |
| 634 | - | |
| 635 | -= 4.1.4 (2021-11-08) = | |
| 636 | -~ Fixed security: when user share profile, another user can see settings as change password, change info. | |
| 637 | -~ Modify: not scroll to title courses when load first. | |
| 638 | -~ Fixed: get incorrect key setting "archive course layout". | |
| 639 | -~ Fixed: get value "From name", "Footer text" setting Email. | |
| 640 | -~ Removed: option set "From address" email, removed hook "wp_mail_from" make some site can't send email when install LP. | |
| 641 | -~ Comment some functions deprecated: "_learn_press_restrict_view_items", "_learn_press_set_user_items". | |
| 642 | -~ Added: hook "learnpress/course/template/price/can-show". | |
| 643 | -~ Added: filter "before_show_lp_widget_content". | |
| 644 | -~ Show icons on the child Settings tab - Profile page. | |
| 645 | -~ Fixed: case answer's question Fill in blank = "0" always incorrect. | |
| 646 | -~ Fixed: case content of question answers will change by hook apply_filters( 'the_content') when reload page, change to do_shortcode(). | |
| 647 | -~ Fixed: store answer of user when reload page will lose. | |
| 648 | -~ Added: hooks apply_filters('learnpress/profile/tab/enrolled/subtab-active'), apply_filters('learnpress/profile/tab-active'). | |
| 649 | -~ Modified: functions course_external_button, can_enroll_course with case course is external and purchased course. | |
| 650 | -~ Sanitize: email_footer, email_header. | |
| 651 | -~ Removed: some functions not use on file class-lp-email.php: "get_variable", "get_object", "get_common_template_data", "data_to_variables" | |
| 652 | -~ Fix show explanation when reload site. | |
| 653 | -~ Fix show message: "Your order is waiting for processing" when LP Order status is processing. | |
| 654 | -~ Fixed: condition get link last item if all items completed - on button continue. | |
| 655 | -~ Fixed: show explanation. | |
| 656 | -~ Fixed: error user login with mail buy as Guest and LP Oder completed but can't view course. | |
| 657 | -~ Fixed: error, <a href="https://blog.szfszf.top/static/papers/LearnPress_4.1.3.2_sql_injection_1cf8665be17b7708a3f180067fd2d50b.html">sql injection</a>, sanitize feature duplicate post (Course, Lesson, Quiz v.v...) | |
| 658 | - | |
| 659 | -= 4.1.3.2 (2021-10-15) = | |
| 660 | -~ Fixed: security CVE-2021-39348, set sanitize for some params missing. | |
| 661 | - | |
| 662 | -= 4.1.3.1 (2021-09-15) = | |
| 663 | -~ Fixed: some shortcode of latex show incorrect on question answer. | |
| 664 | -~ Added: hooks for course_continue_button, course_purchase_button, course_enroll_button. | |
| 665 | -~ Fixed: Fatal error LP_Abstract_User::get_course_data() when upgrade from LP3 to LP4. | |
| 666 | -~ Moved: function "Email hook notify" to hook "plugin_loaded". | |
| 667 | -~ Added: hooks "learnpress/hook/before-addons-call-hook-learnpress-ready". | |
| 668 | -~ Fixed security: Cross Site Scripting (XSS) on fields: External Link, Requirements, Target Audience, Key Features, FAQs. | |
| 669 | -~ Fixed: click button continue redirect wrong item. | |
| 670 | -~ Added: functions get_user_ids_enrolled, get_total_user_enrolled. | |
| 671 | -~ Fixed: error WP_Filesystem_Direct::exist not exist. | |
| 672 | - | |
| 673 | -= 4.1.3 (2021-09-07) = | |
| 674 | -~ Modified: Learnpress order status on Dashboard of Wordpress. | |
| 675 | -~ Fixed: Widgets: Popular course, Feature course, Recent course, Course Progress, Course Info, Course Extra. All widget compatible with Elementor. | |
| 676 | -~ Fixed: Info Order have courses deleted on page Profile . | |
| 677 | -~ Fixed: error user can't learn course set external link when Admin created Order manual Completed has this course. | |
| 678 | -~ Improve performance. | |
| 679 | -~ Modify function set cache. | |
| 680 | -~ Modify custom post type of LP. | |
| 681 | -~ Modify feature run progress on background. | |
| 682 | -~ Handle send all email of LP (New Order, Processing Order, Completed Order, Cancelled Order, Enrolled Course, Finished Course, Become An Instructor) on Background. | |
| 683 | -~ Remove child order when Admin created Order manual. | |
| 684 | -~ Modify enroll/buy course (user, guest). | |
| 685 | -~ Added wysiwyg field for metabox. | |
| 686 | -~ Compatible with MathJax-LateX plugin. | |
| 687 | - | |
| 688 | -= 4.1.2 = | |
| 689 | -~ Modify, optimize Archive course page - call API - make faster | |
| 690 | -~ Added: back icon on item page | |
| 691 | -~ Fixed: some where call old function "get_profile_socials" not has param $user_id | |
| 692 | - | |
| 693 | -= 4.1.1 = | |
| 694 | -~ Added: tool clean "table session" clean sessions expire after 1 days. | |
| 695 | -~ Fixed: not show button "continue" when course is blocked. | |
| 696 | -~ Fixed: course doesn't has any item will be not show button "continue", "finish", "retake". | |
| 697 | -~ Updated: file languages | |
| 698 | - | |
| 699 | -= 4.1.0 = | |
| 700 | -~ Added: feature "Allow repurchase option". Manager can set fixed: Reset/Keep course progress of course or allow student choice. | |
| 701 | -~ Fixed: show incorrect "Active Courses" on page profile. | |
| 702 | -~ Fixed: show fake student. | |
| 703 | -~ Fixed: duplicate label on form Register custom fields. | |
| 704 | - | |
| 705 | -= 4.0.9 = | |
| 706 | -~ Added: option enable sticky navigation pagination when user answer question on quiz. | |
| 707 | -~ Fixed: set again current item when manager remove item current when edit course. | |
| 708 | -~ Modified: page profile - load ajax call API, show more info. | |
| 709 | -~ Fixed: can't upgrade DB from 3 to 4 because user translate menu "LearnPress". | |
| 710 | -~ Modified: Navigation on page quiz - change icon next, previous to text. | |
| 711 | -~ Fixed: function "duplicate course" not duplicate "answer option" | |
| 712 | -~ Fixed: Social icons on page profile when user view another user. | |
| 713 | -~ Fixed: on multiple site enable option "Registration is disabled" will not show form register on page Profile. | |
| 714 | - | |
| 715 | -= 4.0.8 = | |
| 716 | -~ Added: feature "Allow Repurchase course" | |
| 717 | -~ Added: feature "No require enroll" | |
| 718 | -~ Fixed: Custom register fields error with some name not utf8 | |
| 719 | -~ Added: field "confirm password" on register form profile | |
| 720 | -~ Fixed: file config.js permission 403 on some sites, change name to lp-configs.js | |
| 721 | -~ Fixed: When edit course, Admin can add item of another user | |
| 722 | - | |
| 723 | -= 4.0.7 = | |
| 724 | -~ Fixed: CPU runs high | |
| 725 | -~ Fixed: "start quiz" error with some cases have cached. | |
| 726 | -~ Fixed: make Elementor pro show wrong: header, footer... (theme builder) | |
| 727 | - | |
| 728 | -= 4.0.6 = | |
| 729 | -~ Fixed: Page profile not show login/register form | |
| 730 | -~ Fixed: translated text on js function "Quiz" | |
| 731 | -~ Fixed: js scroll to item viewing | |
| 732 | -~ Fixed: show html title question | |
| 733 | -~ Fixed: Order change status from "completed" to "pending" => user can't learn courses in this order | |
| 734 | -~ Added: Option "Logout Redirect" | |
| 735 | -~ Fixed: Set default sidebar curriculum will be hide on mobile | |
| 736 | -~ Modify: Remove course on Overview tab when enable "Publish Profile" | |
| 737 | -~ Fixed: Elementor pro make archive course show wrong | |
| 738 | - | |
| 739 | -= 4.0.5 = | |
| 740 | -~ Fixed: error "Duplicate entry" for case upgrade LP4, if user install LP4 and save setting before Upgrade Database | |
| 741 | -~ Fixed: get option 'avatar_dimensions' set default value if user not set | |
| 742 | -~ Fixed: get option 'course_thumbnail_dimensions' set default value if user not set | |
| 743 | -~ Modify template Profile | |
| 744 | -~ Fixed: tool "Reset course progress" | |
| 745 | -~ Fixed: get options "Courses per page" | |
| 746 | - | |
| 747 | -= 4.0.4 = | |
| 748 | -~ Fixed: get option "archive_course_limit" default value if empty. | |
| 749 | -~ Fixed: Profile shortcode. | |
| 750 | -~ Fixed: error table "learnpress_user_itemmeta" doesn’t exist when install new. | |
| 751 | -~ Fixed: style comment function. | |
| 752 | -~ Added: form comment on course. | |
| 753 | -~ Fixed: js itemProgress undefined in Eduma theme | |
| 754 | - | |
| 755 | -= 4.0.3 = | |
| 756 | -~ Fixed: tool "Reset course progress" | |
| 757 | -~ Fixed: tool "Reset user progress" | |
| 758 | -~ Added: tool "Create Database Indexes" | |
| 759 | -~ Fixed js button "Retake course" if you have more than one. | |
| 760 | -~ Added: tool "Re upgrade Database" ~ If DB upgrade not success | |
| 761 | -~ Fixed: show button finish when completed quiz - if assessment passed | |
| 762 | - | |
| 763 | -= 4.0.2 = | |
| 764 | -~ Upgrade library chart.js to v3.2.1 | |
| 765 | -~ Optimize query with cache get list questions on a quiz | |
| 766 | -~ Show content(description) on page LP Profile, LP Archive | |
| 767 | -~ Fixed: errors when activated "Metabox" plugin | |
| 768 | -~ Fixed: broken layout profile page when activated "All in one seo" plugin | |
| 769 | -~ Removed: tool "Remove current Data" | |
| 770 | -~ Removed: tool "Remove outdated Data" | |
| 771 | -~ Removed: tool "Repair database" | |
| 772 | - | |
| 773 | -= 4.0.1 = | |
| 774 | -~ Fixed: upgrade LP error if mysql version < 5.7 - "Specified key was too long". | |
| 775 | -~ Fixed: minor bugs. | |
| 776 | - | |
| 777 | -= 4.0.0 = | |
| 778 | -~ Added new UI/UX for Quiz screen in frontend. | |
| 779 | -~ Added enable Gutenberg for lesson and quiz and question. | |
| 780 | -~ Added extra meta for course: Requirements, Target Audience, Key Features. | |
| 781 | -~ Improved quiz settings that made it simpler and easy to use. | |
| 782 | -~ Improved single course page. | |
| 783 | -~ Improved archive course page. | |
| 784 | -~ Restructure database tables. | |
| 785 | -~ Added some hooks/filters. | |
| 786 | - | |
| 787 | -= 3.2.8.8 = | |
| 788 | -~ Fix compatible PHP 8.0.3 | |
| 789 | -~ Fix Yoat SEO course category title not working | |
| 790 | - | |
| 791 | -= 3.2.8.7 = | |
| 792 | -~ Fix: start quiz 404 | |
| 793 | -~ Optimize | |
| 794 | - | |
| 795 | -= 3.2.8.6 = | |
| 796 | -~ Fix minor bug | |
| 797 | -~ Optimize enroll course | |
| 798 | -~ Add cache get items' course | |
| 799 | -~ Add reset progress by course_id | |
| 800 | -~ Fix "Enroll Button" is not appearing when disable "Auto Enroll" option | |
| 801 | - | |
| 802 | -= 3.2.8.5 = | |
| 803 | -~ Fix header lesson style error on iphone | |
| 804 | -~ Fix scrollbar error some themes | |
| 805 | -~ Fix scroll js to item user viewing | |
| 806 | -~ Add filter 'lp/email/type-order/object', 'lp/email/order/support_variable' | |
| 807 | - | |
| 808 | -= 3.2.8.4 = | |
| 809 | -~ Add function Scan database if have not index in table will create | |
| 810 | -~ Add function Repurchase course when course finished or block duration expire | |
| 811 | -~ Fix function Statistics | |
| 812 | -~ Fix error content lesson conflict when activated elementor & yoast seo | |
| 813 | -~ Fix order status on Dashboard screen | |
| 814 | -~ Remove js scrollbar jquery | |
| 815 | -~ Add option 'Enable Popup Confirm Finish Course, Complete Item | |
| 816 | -~ Add message block duration | |
| 817 | - | |
| 818 | -= 3.2.8.3 = | |
| 819 | -~ Fix compatible PHP 8.0 | |
| 820 | -~ Fix checkout message error | |
| 821 | -~ Optimize | |
| 822 | - | |
| 823 | -= 3.2.8.2 = | |
| 824 | -~ Fix compatible WP 5.6 | |
| 825 | -~ Fix error Yoast-Seo in course archive page | |
| 826 | -~ Error file global.js on 'Twenty Seventeen' theme | |
| 827 | -~ Fix error page course archive with YoastSeo | |
| 828 | -~ Fix count students enrolled course on list course backend | |
| 829 | -~ Fix toggle curriculum bar for right-to-left | |
| 830 | - | |
| 831 | -= 3.2.8.1 = | |
| 832 | -~ Fix WPBakery load style inline on course's item page | |
| 833 | -~ Fix make co-instructor not show list courses on backend | |
| 834 | -~ Fix miss lib vue js on LearnPress / Tools / Course page | |
| 835 | - | |
| 836 | -= 3.2.8 = | |
| 837 | -~ Fix query get posts (courses, items courses) on Backend - multiple site | |
| 838 | -~ Fix error not same param on hook of Yoast SEO vs Yoast SEO premium | |
| 839 | -~ Fix security XSS function view_log | |
| 840 | -~ Fix check if get user on function learn_press_course_purchase_button() is null | |
| 841 | -~ Fix create statics pages LP on 'lp setup' page | |
| 842 | -~ Show message duplicate class RWMB_Field with another plugins | |
| 843 | - | |
| 844 | -= 3.2.7.9 = | |
| 845 | -~ Fix question not show description | |
| 846 | - | |
| 847 | -= 3.2.7.8 = | |
| 848 | -~ Fix save author id when add item when edit course | |
| 849 | -~ Fix title, description item course when install yoast seo plugin | |
| 850 | -~ Fix Retake when not enable duration expire | |
| 851 | -~ Fix function 'Instructors Registration' | |
| 852 | -~ Add function Export order invoice PDF | |
| 853 | - | |
| 854 | -= 3.2.7.7 = | |
| 855 | -~ Add Evaluate via questions | |
| 856 | -~ Add Evaluate via mark | |
| 857 | -~ Fixed duration expire course | |
| 858 | -~ Fixed link 'Preview change' button when edit item course | |
| 859 | -~ Fixed title of course archive page | |
| 860 | -~ Fixed if quiz has only one question will not show paginate | |
| 861 | - | |
| 862 | -= 3.2.7.6 = | |
| 863 | -~ Fix missing file class-lp-course-database.php | |
| 864 | - | |
| 865 | -= 3.2.7.5 = | |
| 866 | -~ Fixed run Elementor with question. | |
| 867 | -~ Fixed lesson preview not show button complete when user enrolled. | |
| 868 | -~ Add tag apply_filter 'learn-press/order-item-not-course-id' on received-order. | |
| 869 | -~ Add tag apply_filter 'learn-press/tmpl-button-purchase-course' before return button purchase course. | |
| 870 | -~ Optimize (permalink of items course). | |
| 871 | -~ Show finish course button when items of course completed although the course not passed. | |
| 872 | -~ Fixed explanation of question when user completed quiz. | |
| 873 | -~ Hide description of quiz when the quiz completed. | |
| 874 | - | |
| 875 | -= 3.2.7.4 = | |
| 876 | -~ Fix can't load items when select on Order Backend | |
| 877 | - | |
| 878 | -= 3.2.7.3 = | |
| 879 | -~ Fixed error get_image() return bool not string on the file \templates\loop\course\thumbnail.php | |
| 880 | -~ Modify description for the function 'External Link' | |
| 881 | -~ Fixed LP_Datetime error with date = '0000-00-00 00:00:00' | |
| 882 | -~ Fixed not show number Duration of Lesson when translate text | |
| 883 | -~ Fixed not send mail for instructor when have new order | |
| 884 | -~ Remove hook get avatar of Ultimate member plugin | |
| 885 | -~ Fixed get value with, height image_size on LP setting | |
| 886 | -~ Fixed security, clear sanitize | |
| 887 | -~ Wilfried, security ninja at Synacktiv | |
| 888 | -~ Fixed compatible with Elementor on items of course (lesson, quizz, question v.v...) | |
| 889 | - | |
| 890 | -= 3.2.7.2 = | |
| 891 | -~ Fixed email setting not save tag html | |
| 892 | - | |
| 893 | -= 3.2.7.1 = | |
| 894 | -~ Fix save settings | |
| 895 | - | |
| 896 | -= 3.2.7 = | |
| 897 | -~ Fix sanitize | |
| 898 | - | |
| 899 | -= 3.2.6.10 = | |
| 900 | -~ Fix add-on GradeBook | |
| 901 | - | |
| 902 | -= 3.2.6.9 = | |
| 903 | -~ Revert library meta-box to v4.15.7 | |
| 904 | - | |
| 905 | -= 3.2.6.8 = | |
| 906 | -~ Fixed security: remove functions low security | |
| 907 | -~ Fixed some minor bugs | |
| 908 | -~ Fixed confusing "external link button" name default of course | |
| 909 | -~ Fixed filter items of course | |
| 910 | -~ Fixed create same name, slug page Checkout with Woo | |
| 911 | -~ Improve performance | |
| 912 | - | |
| 913 | -= 3.2.6.7 (2020.03.16) = | |
| 914 | -~ Fixed security issues (CVE-2020-7916): uer logged can change role all users to Instructor | |
| 915 | -~ Fixed security issues (CVE-2020-7917): remove function low security | |
| 916 | -~ Fixed error preview Assignment | |
| 917 | - | |
| 918 | -= 3.2.6.6 = | |
| 919 | -~ Fixed option Block Lessons not working | |
| 920 | - | |
| 921 | -= 3.2.6.5 (20.11.2019) = | |
| 922 | -~ Fixed email doesn't send. | |
| 923 | -~ Fixed some js errors. | |
| 924 | -~ Fixed js call twice times. | |
| 925 | -~ Fixed question doesn't show after added to quiz. | |
| 926 | -~ Fixed ignore some metadata when copying course. | |
| 927 | -~ Fixed search orders in backend. | |
| 928 | - | |
| 929 | -= 3.2.6.4 = | |
| 930 | -~ Fixed some errors. | |
| 931 | - | |
| 932 | -= 3.2.6.3 = | |
| 933 | -~ Fixed css conflict with text block of vc. | |
| 934 | -~ Fixed show message 'Out of stock' for course reached limitation users. | |
| 935 | -~ Fixed show checked answers when review quiz. | |
| 936 | -~ Fixed review quiz option does not work properly. | |
| 937 | -~ Fixed update view after removing order's items. | |
| 938 | - | |
| 939 | -= 3.2.6.2 = | |
| 940 | -~ Fixed cannt add items to course. | |
| 941 | - | |
| 942 | -= 3.2.6 = | |
| 943 | -~ Added option to exclude js/css libraries unnecessary (used in theme or other plugins). | |
| 944 | -~ Added alt prop to user profile avatar. | |
| 945 | -~ Fixed can't next/prev questions when doing quiz. | |
| 946 | -~ Fixed wrong items navigation when learning course. | |
| 947 | -~ Fixed missing js of some pages in admin. | |
| 948 | -~ Fixed can't close admin notices. | |
| 949 | -~ Updated envato api to newer version. | |
| 950 | - | |
| 951 | -= 3.2.5.6 = | |
| 952 | -~ Added new strings for translating. | |
| 953 | -~ Corrected currency of Rwandan franc. | |
| 954 | -~ Fixed missing utils library when adding manually the orders. | |
| 955 | -~ Fixed upgrade function that doesn't hide the message when it done. | |
| 956 | -~ Fixed can't create new page in settings. | |
| 957 | - | |
| 958 | -= 3.2.5.5 = | |
| 959 | -~ Fixed guest can not start quiz with no require enroll course option. | |
| 960 | -~ Fixed sql to filter orders by user ID. | |
| 961 | -~ Fixed issue of sending email when finished course: not correct Grade. | |
| 962 | -~ Fixed can not see Actions buttons when adding questions into the quiz. | |
| 963 | -~ Fixed changed the logic of Continue button for Course: continue with the next incomplete item. | |
| 964 | -~ Fixed wrong code to pick up instructor email. | |
| 965 | - | |
| 966 | -= 3.2.5.4 = | |
| 967 | -~ Fixed load js missing dependencies and only in LP page. | |
| 968 | - | |
| 969 | -= 3.2.5.3 = | |
| 970 | -~ Changed SQL to read course items by user item ID. | |
| 971 | -~ Improved performance in admin orders page. | |
| 972 | -~ Upgraded Vue/Vuex to latest version. | |
| 973 | -~ Added new theme to LP ad. | |
| 974 | - | |
| 975 | -= 3.2.5.2 = | |
| 976 | -~ Fixed bug can't access course after purchased. | |
| 977 | -~ Fixed bug user can't redo quiz with option 'Retake' is 1. | |
| 978 | -~ Fixed bug can't order questions by date in questions bank. | |
| 979 | -~ Extracted purchased date to date and time in order emails. | |
| 980 | -~ Show point of quiz in result page. | |
| 981 | - | |
| 982 | -= 3.2.5.1 = | |
| 983 | -~ Fixed can not next/prev question when doing quiz. | |
| 984 | -~ Fixed get wrong total student of a course. | |
| 985 | -~ Updated language .POT file. | |
| 986 | - | |
| 987 | -= 3.2.5 = | |
| 988 | -~ Fixed button for creating LP pages does not work properly. | |
| 989 | -~ Fixed warning when getting course items does not exists. | |
| 990 | -~ Added button to close warning for outdated templates. | |
| 991 | -~ Fixed search order not working. | |
| 992 | -~ Fixed get course items in incorrect order. | |
| 993 | -~ Fixed can't start quiz when the course is not required enroll. | |
| 994 | -~ Fixed the amount number of enrolled users isn't updated correctly. | |
| 995 | - | |
| 996 | -= 3.2.4 = | |
| 997 | -~ Fixed cannot enroll course. | |
| 998 | -~ Fixed prev question button not working correct. | |
| 999 | -~ Fixed one extra answer option when add new question. | |
| 1000 | -~ Fixed some deprecated keywords for PHP 7.3. | |
| 1001 | -~ Fixed item is null for an item which doesn't support it's type (like assignment after deactivate). | |
| 1002 | -~ Fixed bug the next and prev button not work in review mode of quiz. | |
| 1003 | - | |
| 1004 | -= 3.2.3 = | |
| 1005 | -~ Removed un-security code in PP library. | |
| 1006 | -~ Fixed get curriculum item types doesn't work properly. | |
| 1007 | -~ Fixed sort sections/items wrong in SQL query. | |
| 1008 | - | |
| 1009 | -= 3.2.2 = | |
| 1010 | -~ Fixed review quiz doesn't work properly. | |
| 1011 | -~ Fixed table session create a lot of rows. | |
| 1012 | -~ Fixed can't enroll to a course purchased. | |
| 1013 | -~ Removed unused functions. | |
| 1014 | - | |
| 1015 | -= 3.2.1 = | |
| 1016 | -~ Fixed can't enroll course. | |
| 1017 | -~ Fixed upload issue and drag user avatar on mobile. | |
| 1018 | -~ Fixed course duration does not work properly. | |
| 1019 | -~ Fixed question with multi language. | |
| 1020 | -~ Fixed mail to user 2 times when completed course. | |
| 1021 | - | |
| 1022 | -= 3.2.0 = | |
| 1023 | -~ Fixed issue info of order added manual not correct. | |
| 1024 | -~ Fixed issue course duplicated is published. | |
| 1025 | -~ Fixed issue Course content column show as "No Content". | |
| 1026 | -~ Fixed some issues related to cache. | |
| 1027 | - | |
| 1028 | -= 3.1.0 = | |
| 1029 | -~ Fixed issue vulnerabilities. | |
| 1030 | -~ Fixed issue related to object cache when doing quiz. | |
| 1031 | -~ Fixed lesson 404 with Polylang. | |
| 1032 | -~ Fixed PHP Fatal error class ‘LP_Plugins_Helper’ not found | |
| 1033 | - | |
| 1034 | -= 3.0.12 = | |
| 1035 | -~ Fixed minor bug in gradebook list in admin | |
| 1036 | -~ Made hook learn-press/course-tabs work | |
| 1037 | -~ Fixed bug: not auto complete quiz. Add 1 more filter hook for checking publicity in profile page | |
| 1038 | -~ Fixed bug: auto enroll course without permission to enroll course | |
| 1039 | -~ Changed filter tag for get_default_meta of lesson | |
| 1040 | -~ Auto full-screen in mobile view | |
| 1041 | -~ Fixed bug: wrong count number in No Preview at Lessons List back-end page | |
| 1042 | -~ Fixed bug: Instructor user cannot see comments of lesson | |
| 1043 | -~ Changed version for template files | |
| 1044 | -~ Added base url for construct nav in user profile | |
| 1045 | -~ Added param for get_nav method | |
| 1046 | -~ Fixed bug: answer correct all question but quiz result is failed with 0% | |
| 1047 | -~ Fixed small bug in quiz editor | |
| 1048 | -~ Fixed bug: wrong count number of the courses in back end because of the status of preview course | |
| 1049 | -~ Fixed bug: not redirect to correct page after logged in in Profile page | |
| 1050 | -~ Fixed bug fatal error include file | |
| 1051 | -~ Added icon for chat-type-format of content item | |
| 1052 | -~ Fixed header-sent when log file | |
| 1053 | - | |
| 1054 | -= 3.0.10 = | |
| 1055 | -~ Added quiz option to minus a number of points for each wrong question in quiz | |
| 1056 | -~ Added admin email to send to admin when an order is completed | |
| 1057 | -~ Added button allows wp admin can send a request to subscriber | |
| 1058 | -~ Improved auto redirecting to current question when user go to a quiz | |
| 1059 | -~ Improved UI of course editor for RTL | |
| 1060 | -~ Improved content of email sending to admin and instructor | |
| 1061 | -~ Fixed page show 404 with pagination in courses page (conflict with WPML) | |
| 1062 | -~ Fixed course price is still showing after user enrolled course | |
| 1063 | -~ Fixed not auto redirecting to checkout after logged in | |
| 1064 | -~ Fixed some issues made question can't edit | |
| 1065 | -~ Fixed issue for requesting to get related themes/addons in admin | |
| 1066 | -~ Fixed some issues with content header when viewing in Safari | |
| 1067 | -~ Fixed wrong ordering of course item when adding new | |
| 1068 | -~ Fixed order for multiple users is not show in list of orders | |
| 1069 | -~ Fixed some text is not translatable | |
| 1070 | -~ Fixed breadcrumb not show page name when viewing archive course | |
| 1071 | -~ Fixed archive course show header is title of first course | |
| 1 | += 4.2.7.5 (2024-12-17) = | |
| 2 | +~ Added: option Price prefix, Price suffix for course. | |
| 3 | +~ Fixed: shortcode [learn_press_button_course]. | |
| 4 | +~ Fixed: error status item's course, case option course set "no require enroll" (user enrolled). | |
| 5 | +~ Fixed: error lose tab on Profile when install SiteOrigin plugin. | |
| 6 | +~ Updated: library TomSelect, ChartJS to the latest. | |
| 7 | + | |
| 8 | += 4.2.7.4 (2024-12-03) = | |
| 9 | +~ Fixed: image cover profile with theme Twenty Five. | |
| 10 | +~ Fixed: error some sites not show notes(Waring) on the Admin Dashboard. | |
| 11 | +~ Fixed: security. | |
| 12 | +~ Tweak order show material on the item lesson. | |
| 13 | +~ Tweak load text domain compatible with WP 6.7 and later. | |
| 14 | +~ Tweak: format_human_time_diff method. | |
| 15 | +~ Tweak: UserItemModel, UserCourseModel, UserModel, CourseModel classes. | |
| 16 | +~ Deprecated: get_info_extra_for_fast_query method. | |
| 17 | +~ Deprecated: _learn_press_usort_terms_by_ID, learn_press_course_item_format_exclude, learn_press_get_course_curriculum, learn_press_is_enrolled_course, learn_press_get_user_course_statuslearn_press_is_free_course, learn_press_course_enroll_required, learn_press_search_post_excerpt, learn_press_course_add_support_item_type, learn_press_course_add_support_item_type, learn_press_get_user_question_answer, need_to_updating, learn_press_get_course_sections, lean_press_get_course_sections, learn_press_get_course_item_url, learn_press_edit_item_link, learn_press_get_course_results_tooltip. | |
| 18 | +~ Set cache get instructors API for App. | |
| 19 | +~ Added: get_i18n_string_plural method on the class LP_Helper. | |
| 20 | + | |
| 21 | += 4.2.7.3 (2024-11-12) = | |
| 22 | +~ Fixed: error course private admin/author can't see on the frontend. | |
| 23 | +~ Fixed: only show label "Final" of Quiz when choose "Evaluate via results of the final quiz". | |
| 24 | +~ Fixed: send mail enroll for user Guest not exists user. | |
| 25 | +~ Tweak: enroll/purchase course buttons. | |
| 26 | +~ Tweak: condition can enroll/purchase course. | |
| 27 | +~ Tweak: API enroll/purchase course. | |
| 28 | +~ Tweak: when order completed. | |
| 29 | +~ Tweak: set upload Avatar to PNG, instead of JPG. | |
| 30 | +~ Deprecated: hooks learn-press/user/can-enroll-course, learn-press/user/can-purchase-course. Replace to learn-press/user/can-enroll/course, learn-press/user/can-purchase/course. | |
| 31 | + | |
| 32 | += 4.2.7.2 (2024-10-21) = | |
| 33 | +~ Fixed: security. | |
| 34 | +~ Fixed: set size for Gravatar user. | |
| 35 | +~ Fixed: slug item's course use urldecode when edited. | |
| 36 | +~ Fixed: display name courses has special character Mobile. | |
| 37 | +~ Fixed: error save Enable/Disable all emails. | |
| 38 | +~ Added: get_all_items method for LP_Order class, for fix case "Paid Memberships" assign more than 50 courses. | |
| 39 | +~ Added: cover image feature on the Profile page. | |
| 40 | +~ Tweak: handle tomSelect. | |
| 41 | +~ Tweak: class LP_Datetime. | |
| 42 | +~ Tweak: style page Archive Courses. | |
| 43 | +~ Tweak: style page Profile. | |
| 44 | +~ Tweak: layout Offline course. | |
| 45 | +~ Update: lp icon fonts. | |
| 46 | + | |
| 47 | += 4.2.7.1 (2024-09-11) = | |
| 48 | +~ Fixed: security. | |
| 49 | +~ Use TomSelect instead of Select2 on settings. | |
| 50 | +~ Fixed: minor bugs. | |
| 51 | + | |
| 52 | += 4.2.7 (2024-08-27) = | |
| 53 | +~ Added: feature course offline. | |
| 54 | +~ Added: duration info for App API list courses. | |
| 55 | +~ Tweak: API get instructor info. | |
| 56 | +~ Fixed: error empty email content reset password. | |
| 57 | +~ Fixed: error empty image header. | |
| 58 | +~ Fixed: error create new section not send section_order. | |
| 59 | +~ Fixed: case search LP orders by user. | |
| 60 | +~ Fixed: error sort by total on list orders. | |
| 61 | + | |
| 62 | += 4.2.6.9.4 (2024-08-07) = | |
| 63 | +~ Fixed: security. | |
| 64 | + | |
| 65 | += 4.2.6.9.3 (2024-08-02) = | |
| 66 | +~ Tweak: added courses to LP Order manual. | |
| 67 | +~ Tweak: list orders status trash. | |
| 68 | +~ Tweak: message out of stock, no enroll requirement. | |
| 69 | +~ Fixed: material lesson display with case no enroll requirement. | |
| 70 | +~ Fixed: error not show email on Order detail when buy with Guest. | |
| 71 | +~ Fixed: error can't remove empty fields on "Extra Information" options. | |
| 72 | +~ Fixed: error clean break row (\n) on "Featured review" option. | |
| 73 | +~ Fixed: query Statistics by role. | |
| 74 | +~ Fixed: error max student when user bought. | |
| 75 | +~ Fixed: case no enroll requirement with course price. | |
| 76 | +~ Remove: jquery-ui-timepicker-addon jquery library. | |
| 77 | + | |
| 78 | += 4.2.6.9.2 (2024-07-25) = | |
| 79 | +~ Fixed: error lose section when update section of course. | |
| 80 | + | |
| 81 | += 4.2.6.9.1 (2024-07-24) = | |
| 82 | +~ Fixed: error check paths override of theme. | |
| 83 | + | |
| 84 | += 4.2.6.9 (2024-07-24) = | |
| 85 | +~ Fixed: security. | |
| 86 | +~ Optimize courses. | |
| 87 | +~ Create table learnpress_courses from posts to query faster. | |
| 88 | +~ Tweak: choose users when create manual LP Order. | |
| 89 | +~ Tweak: filed search instructor on list courses, orders, lessons, quizzes,... | |
| 90 | +~ Tweak: get options list author via API when edit courses (make edit load screen edit courses faster). | |
| 91 | +~ Fixed: show tab material with course no require enroll. | |
| 92 | + | |
| 93 | += 4.2.6.8.2 (2024-06-28) = | |
| 94 | +~ Added: function retrieve_password_message override message reset password. | |
| 95 | +~ Fixed: security. | |
| 96 | +~ Fixed: style login/register for Divi theme. | |
| 97 | +~ Fixed: responsive curriculum. | |
| 98 | + | |
| 99 | += 4.2.6.8.1 (2024-06-03) = | |
| 100 | +~ Fixed: security. | |
| 101 | +~ Fixed: query by status on list LP Orders. | |
| 102 | +~ Fixed: minor bugs. | |
| 103 | +~ Added: translate text grid, list. | |
| 104 | + | |
| 105 | += 4.2.6.8 (2024-05-27) = | |
| 106 | +~ Fixed: error create answers question. | |
| 107 | +~ Fixed: minor bugs. | |
| 108 | + | |
| 109 | += 4.2.6.7 (2024-05-20) = | |
| 110 | +~ Fixed: security. | |
| 111 | +~ Fixed: error conflict with CookieYes plugin. | |
| 112 | +~ Fixed: sale course price with config timezone of WordPress. | |
| 113 | +~ Optimize: style. | |
| 114 | +~ Remove Font Awesome and replace it with Font LearnPress. | |
| 115 | +~ Tweak: query search LP Order. | |
| 116 | + | |
| 117 | += 4.2.6.6 (2024-05-09) = | |
| 118 | +~ Fixed: security. | |
| 119 | +~ Fixed: delete user item when remove order item. | |
| 120 | +~ Tweak: material files feature. | |
| 121 | +~ Excluded: questions from search via param ?s of WordPress. | |
| 122 | +~ Compare the sale dates of courses through WordPress's Timezone. | |
| 123 | + | |
| 124 | += 4.2.6.5 (2024-04-17) = | |
| 125 | +~ Fixed: security. | |
| 126 | +~ Added: option "Load courses of subcategory", get all the courses in the child category that are not selected in the parent category. | |
| 127 | +~ Added: option "Number level category want to show" for widget course filter. | |
| 128 | +~ Added: option "show/hide author Admin on list instructors". | |
| 129 | + | |
| 130 | += 4.2.6.4 (2024-04-01) = | |
| 131 | +~ Compatible with WordPress 6.5. | |
| 132 | +~ Fixed: security. | |
| 133 | +~ Fixed: error remove question_anwsermeta when create new post question. | |
| 134 | +~ Fixed: compatible PHP8 on get_materials_by_item method. | |
| 135 | +~ Fixed: minor bug save order on the backend. | |
| 136 | +~ Fixed: error wrong link continue item, reason by old data still save item assigned to course, but deleted on post. | |
| 137 | +~ Fixed: minor bug profile shortcode. | |
| 138 | +~ Fixed: error shortcode list courses when add on Elementor. | |
| 139 | +~ Deprecated: get_downloadable_material method. | |
| 140 | + | |
| 141 | += 4.2.6.3 (2024-02-29) = | |
| 142 | +~ Fixed: error wrong avatar's instructor. | |
| 143 | +~ Fixed: error page Profile with user not login. | |
| 144 | + | |
| 145 | += 4.2.6.2 (2024-02-28) = | |
| 146 | +~ Added: param lang on url when submit filter courses. | |
| 147 | +~ Added: ProfileOrdersTemplate show layout orders on the Profile page. | |
| 148 | +~ Tweak: get_first_item_id method. | |
| 149 | +~ Tweak: methods Profile, templates Profile. | |
| 150 | +~ Fixed: error js hiddenQuestions.find not a function. | |
| 151 | +~ Fixed: avatar url profile with old value. | |
| 152 | +~ Fixed: error payment PayPal with Currency EUR. | |
| 153 | +~ Check user current can view content of tab Profile. | |
| 154 | +~ Deprecated hook 'learn-press/profile/orders', dashboard_featured_courses, dashboard_latest_courses, tab_dashboard methods. | |
| 155 | + | |
| 156 | += 4.2.6.1 (2024-02-20) = | |
| 157 | +~ Fixed: missing translate on "html_count_student" function. | |
| 158 | +~ Fixed: missing translate on profile avatar function. | |
| 159 | +~ Fixed: error when only has a payment method, will be not show payment form. | |
| 160 | +~ Fixed: error widget list courses elementor with theme override content-course.php. | |
| 161 | +~ Fixed: course query filter with polylang. | |
| 162 | + | |
| 163 | += 4.2.6 (2024-01-29) = | |
| 164 | +~ Tweak: courses js. | |
| 165 | +~ Tweak: course filter js. | |
| 166 | +~ Added: some class has -no-css for purpose not set style on this class. | |
| 167 | +~ Added: fake student on count students show on list courses. | |
| 168 | +~ Added: get_tags function for single courses. | |
| 169 | +~ Tweak: checkout js, not use serializeJSON() of JQuery. | |
| 170 | +~ Added: defer js some script. | |
| 171 | +~ Fixed: add param lang if exist for loadAjax. | |
| 172 | +~ Added: option "Class of list courses want to filter" on the Widget Filter Courses. | |
| 173 | +~ Added: icon drag material. | |
| 174 | +~ Remove callback hook learn-press/before-courses-loop-item, learn-press/after-courses-loop-item. | |
| 175 | +~ Fixed: code searching post by taxonomies make error block Woocommerce. | |
| 176 | + | |
| 177 | += 4.2.5.9 (2024-01-09) = | |
| 178 | +~ Added: show notification addons bought near expire support. | |
| 179 | +~ Fixed: error "Fib in blank" question case duplicate, when submit quiz wrong result. | |
| 180 | +~ Fixed widget course filter: error WPML handle wrong if link send not param lang. | |
| 181 | + | |
| 182 | += 4.2.5.8 (2023-12-25) = | |
| 183 | +~ Fixed: security. | |
| 184 | +~ Fixed: translate some text. | |
| 185 | +~ Tweak: layout list courses, set hooks for override, will soon stop support override template file. | |
| 186 | +~ Fixed: clear cache quiz question_ids when add/remove/delete/clone question on the quiz. | |
| 187 | +~ Added: code use for flutter. | |
| 188 | + | |
| 189 | += 4.2.5.7 (2023-12-06) = | |
| 190 | +~ Added: new feature "Assign/Unassign Courses" on the Tools Backend. | |
| 191 | +~ Added: courses filter support multiple language. | |
| 192 | +~ Dev: widget elementor filter courses. | |
| 193 | +~ Dev: widget elementor list courses. | |
| 194 | +~ Fixed: save sale price. | |
| 195 | + | |
| 196 | += 4.2.5.6 (2023-11-24) = | |
| 197 | +~ Tweak: logic load Widget Filter Courses. | |
| 198 | +~ Dev: assign/unassign course to user. | |
| 199 | +~ Fixed: error still show price when user has bought course but not start course. | |
| 200 | +~ Fixed: search suggest courses on Widget Filter Courses. | |
| 201 | +~ Fixed: not call function calculate price when edit course with user is instructor. | |
| 202 | + | |
| 203 | += 4.2.5.5 (2023-11-16) = | |
| 204 | +~ Fixed: security issue. | |
| 205 | +~ Added: new feature Statistic on the Backend. | |
| 206 | +~ Fixed: minor bug material. | |
| 207 | +~ Added: strategy defer/async for some script (WP 6.3 or higher will run). | |
| 208 | +~ Fixed: label 'Free' not show on the single free course. | |
| 209 | +~ Fixed: error sanitize key, make certificate can't save. | |
| 210 | + | |
| 211 | += 4.2.5.4 (2023-11-07) = | |
| 212 | +~ Fixed: security issue. | |
| 213 | +~ Tweak: display Category for filter courses. | |
| 214 | +~ Added: attribute disable if filter count = 0. | |
| 215 | +~ Tweak: widgets.js use fetch instead of wp.apiFetch. | |
| 216 | +~ Added: page tool clear cache. | |
| 217 | + | |
| 218 | += 4.2.5.3 (2023-11-02) = | |
| 219 | +~ Fixed: security issue. | |
| 220 | +~ Tweak: only show 1 level categories right behind cate parent, on the widget "Course Filter". | |
| 221 | +~ Added: method count students enrolled of course. | |
| 222 | +~ Added: method count courses free. | |
| 223 | +~ Added: cache for count. | |
| 224 | + | |
| 225 | += 4.2.5.3 (2023-10-27) = | |
| 226 | +~ Fixed: security issue. | |
| 227 | +~ Fixed: miss hook start quiz, retake quiz. | |
| 228 | +~ Fixed: minor bug material. | |
| 229 | +~ Fixed: error same course when access any single course. | |
| 230 | +~ Fixed: error don't hide info price/free when user enrolled course. | |
| 231 | + | |
| 232 | += 4.2.5.2 (2023-10-24) = | |
| 233 | +~ Fixed: security issue. | |
| 234 | +~ Compatible with WP 6.4. | |
| 235 | + | |
| 236 | += 4.2.5 (2023-10-19) = | |
| 237 | +~ Tweak: start quiz, retake quiz. | |
| 238 | +~ Tweaks: icon social. | |
| 239 | +~ Fixed: error font Arabic when export invoice. | |
| 240 | +~ Fixed: minus point when skip question. | |
| 241 | +~ Fixed: error duplicate message "out of stock" on the single course. | |
| 242 | +~ Fixed: error not show material of lesson. | |
| 243 | +~ Fixed: error set 0 to not show material. | |
| 244 | + | |
| 245 | += 4.2.4 (2023-10-03) = | |
| 246 | +~ Fixed: error Paypal Standard (use IPN), replace to use API REST, client ID, client secret. | |
| 247 | +~ Clean resource. | |
| 248 | +~ Check load Widget Elementor on hooks plugins_loaded. | |
| 249 | +~ Tweak: load Curriculum when edit course, query on Frontend. | |
| 250 | +~ Tweak: layout single instructor. | |
| 251 | +~ Fixed: error set Section Per Page = 0 or < -1. | |
| 252 | +~ Fixed: error set load curriculum item = 0. | |
| 253 | +~ Tweak: logic create/delete user_item. | |
| 254 | + | |
| 255 | += 4.2.3.6 (2023-09-18) = | |
| 256 | +~ Tweak: display Date Time, time zone by format of WP. | |
| 257 | +~ Fixed: count Progress course on the Single Item. | |
| 258 | +~ Fixed: current item active on the Curriculum. | |
| 259 | +~ Fixed: error not show price course when user repurchase course. | |
| 260 | + | |
| 261 | += 4.2.3.5 (2023-09-14) = | |
| 262 | +~ Tweak: checkout. | |
| 263 | +~ Fixed: case start quiz but user_item_id = 0. | |
| 264 | +~ Added: dynamic tag Course for Elementor. | |
| 265 | +~ Tweak: breadcrumb. | |
| 266 | +~ Set 404 if user not login, view page single instructor/no-slug-instructor. | |
| 267 | +~ Fixed: expire date, end date format i18n on Profile Page. | |
| 268 | + | |
| 269 | += 4.2.3.4 (2023-08-24) = | |
| 270 | +~ Fixed: error when use same namespace class JWT library, with some plugin like Google Listings and Ads. | |
| 271 | + | |
| 272 | += 4.2.3.3 (2023-08-08) = | |
| 273 | +~ Added: feature choose type Pagination when load courses on page Archive: navigation Number, Load more, Infinite scroll. | |
| 274 | +~ Added: feature "Downloadable Materials", manager can upload files document for each course, lesson, so student can download it. | |
| 275 | +~ Fixed: error with WPML, show wrong list courses with lang. | |
| 276 | +~ Fixed: sidebar Course Filter show wrong with Firefox. | |
| 277 | +~ Fixed: error fonts tiny with theme OceanWP. | |
| 278 | +~ Fixed: error 404 when view item's course with Polylang. | |
| 279 | +~ Fixed: SEO, show title of Category & Tag of Courses. | |
| 280 | +~ Tweak: checkout function. | |
| 281 | + | |
| 282 | += 4.2.3.2 (2023-07-19) = | |
| 283 | +~ Added: widget filter courses, option enable fields want to filter, sort fields, option load widget on REST. | |
| 284 | +~ Added: Search course suggest (AJAX). | |
| 285 | +~ Added: shortcode filter courses [learn_press_filter_course]. | |
| 286 | +~ Fixed: error install/update Addon. | |
| 287 | + | |
| 288 | += 4.2.3.1 (2023-07-05) = | |
| 289 | +~ Fixed: Security. | |
| 290 | +~ Item Course: completed, display Date Time by format WP. | |
| 291 | +~ Tweak: message of LearnPress. | |
| 292 | +~ Fixed: function “Add course to Order manual” | |
| 293 | + | |
| 294 | += 4.2.3 (2023-07-03) = | |
| 295 | +~ Added: page list instructors. | |
| 296 | +~ Added: page single instructor. | |
| 297 | +~ Added: option set number instructor per page. | |
| 298 | +~ Added: shortcode show list instructors [learn_press_instructors]. | |
| 299 | +~ Added: shortcode show single instructor [learn_press_single_instructor]. | |
| 300 | +~ Auto add shortcode if page is list instructors or single instructor, if enable Elementor will not auto add. | |
| 301 | +~ Added: Widgets For Elementor: list instructors, instructor title, instructor description. | |
| 302 | +~ Added: Template default for list instructors on path "config/elementor/template-default", can import via Elementor. | |
| 303 | +~ Tweak: Widgets For Elementor: list courses, become a teacher, login form, register form. | |
| 304 | +~ Profile: added tab My Courses, display course attend of User. | |
| 305 | +~ Profile: tab My Courses, display statistic: total course enrolled, course in-progress, course finish, course passed, course failed. | |
| 306 | +~ Profile: tweak tab Courses, display course created by User (Admin, Instructor). | |
| 307 | +~ Profile: tab Courses, display statistic: total course created, course publish, course pending, total student, student in-progress. | |
| 308 | +~ Tweak: set default section_per_page, course_item_per_page = -1 to load full. | |
| 309 | +~ Added: format_human_time_diff method. | |
| 310 | +~ Tweak: get cart from session. | |
| 311 | +~ Check: $course->get_instructor() is null. | |
| 312 | +~ Added: hook do_action( 'lp/order-completed/update/user-item', $item, $order ), for case buy item not course. | |
| 313 | +~ Added: hook do_action( 'lp/order-pending/update/user-item', $item, $order ), for case buy item not course. | |
| 314 | +~ Added: nest_elements, print_sections methods on class Template, for easy override template without override file. | |
| 315 | +~ Tweak: statistic student/instructor on profile page. | |
| 316 | +~ Added: method "count_courses_of_author" instead "count_courses_publish_of_author" | |
| 317 | +~ Tweak: method "count_status_by_items" | |
| 318 | +~ Profile: added text "upload" translate on localize script. | |
| 319 | +~ Apply: add internal scripts to head on page List Instructors. | |
| 320 | +~ Fixed: error buy item with Guest, order is no item. | |
| 321 | +~ Fixed: Security Broken Access Control. | |
| 322 | +~ Added: hook login/register of WP on page LP Checkout for plugin captcha display. | |
| 323 | +~ Fixed: error 404 function comment on the lesson. | |
| 324 | + | |
| 325 | += 4.2.2.4 (2023-04-04) = | |
| 326 | +~ Compatible theme Gutenberg. | |
| 327 | +~ Compatible WP 6.2. | |
| 328 | +~ Fixed: auto add shortcode Profile. | |
| 329 | +~ Show notification: Addons has new version. | |
| 330 | +~ Fixed: error buy with Guest display pending Order. | |
| 331 | +~ Tweak: shortcode learn_press_button_course. | |
| 332 | +~ Fixed: error display title on mobile app. | |
| 333 | +~ Lesson: stop support post-formats. | |
| 334 | + | |
| 335 | += 4.2.2.3 (2023-03-21) = | |
| 336 | +~ Fixed: some error with Profile, LP_Profile_Tabs class. | |
| 337 | +~ Fixed: make some page builder like: elementor, visual composer work incorrect. | |
| 338 | +~ Remove implements ArrayAccess of LP_Query_List_Table class (to compatible with PHP8.1). | |
| 339 | + | |
| 340 | += 4.2.2.2 (2023-03-09) = | |
| 341 | +~ Fixed: permalink item 404 when install "YoastSeo" plugin. | |
| 342 | +~ Fixed: error not show tab Avatar on Profile Page. | |
| 343 | +~ Modified: rewrite rules. | |
| 344 | + | |
| 345 | += 4.2.2.1 (2023-03-03) = | |
| 346 | +~ Fixed: error link course with '%course_category%', on screen list courses Backend. | |
| 347 | +~ Fixed: some theme load only course on Archive Course Page. | |
| 348 | +~ Fixed: error not save basic info on Profile page. | |
| 349 | +~ Fixed: url current has symbol like الاعدادات. | |
| 350 | +~ Fixed: error not show message when save info Profile. | |
| 351 | + | |
| 352 | += 4.2.2 (2023-03-01) = | |
| 353 | +~ Optimized performance. | |
| 354 | +~ Optimize: rewrite "add_rewrite_rules" method, only call on "admin_init" hook. | |
| 355 | +~ Optimize: flush_rewrite_rules only when save settings. | |
| 356 | +~ Optimize: not call get_available_payment_gateways on hook 'wp_loaded'. | |
| 357 | +~ Optimize: not call learn_press_get_current_profile_tab on hook 'init'. | |
| 358 | +~ Optimize: add thim_cache table for cache (apply for site not install plugin Object Cache - or cache not working). | |
| 359 | +~ Optimize: set/get/clear cache for count total students enrolled. | |
| 360 | +~ Optimize: set/get/clear cache user_course (user_items) data. | |
| 361 | +~ Optimize: only load class REST when call on url of API. | |
| 362 | +~ Optimize: modified set cookie session for user Guest(user not login). | |
| 363 | +~ Added: a slash to the end of the course item link. | |
| 364 | +~ Fixed: some functions make out of memory. | |
| 365 | +~ Fixed: some functions use static not correct make out of memory. | |
| 366 | +~ Deprecated "learn_press_get_the_course" function, replace with "learn_press_get_course" function. | |
| 367 | +~ Deprecated: "learn_press_get_current_url" function, replace with "LP_Helper::getUrlCurrent" method. | |
| 368 | +~ Temporary comment _get_theme_info, plugin info, because very low. | |
| 369 | +~ Comment: hook learn_press_lesson_comment_form_fields, learn_press_get_only_content_permalink, learn_press_lesson_before_delete_post | |
| 370 | + | |
| 371 | += 4.2.1.1 (2023-02-04) = | |
| 372 | +~ Fixed: error js when add user on LP Order manual. | |
| 373 | +~ Modified: Not translate course slug base (permalink). | |
| 374 | + | |
| 375 | += 4.2.1 (2023-02-03) = | |
| 376 | +~ Added: feature manager addons of LearnPress, download, update, activate, deactivate. | |
| 377 | +~ Fixed: style button. | |
| 378 | +~ Fixed: deprecated register widget elementor. | |
| 379 | +~ Added: 'get_evaluation_type' function. | |
| 380 | +~ Modified: 'get_passing_condition' function. | |
| 381 | +~ Added: 'get_evaluation_type' function. | |
| 382 | +~ Added: hook 'lp/course/extra-info/before-save'. | |
| 383 | +~ Added: hook 'learn-press/login-redirect'. | |
| 384 | +~ Added: hook 'learn-press/register-redirect'. | |
| 385 | +~ Added: "status" row on LP Order Receiver. | |
| 386 | +~ Fixed: error not set pagination page numbers questions when retake quiz. | |
| 387 | +~ Modified: "set_title_pages" function. | |
| 388 | +~ Modified: "get_order_status_html" function, now can translate status LP Order. | |
| 389 | +~ Fixed: error "load more" on Profile page. | |
| 390 | +~ Fixed: error can't set Sale price to 0. | |
| 391 | +~ Modified: step of input Passing Grade from 1 to 0.01. | |
| 392 | + | |
| 393 | += 4.2.0 (2022-12-20) = | |
| 394 | +~ Fixed: compatibility with WordPress PHP 8.1. | |
| 395 | +~ Not implements ArrayAccess, Iterator, Countable of PHP on classes: LP_Datetime, LP_Session_Handler, LP_User_Item_Course, LP_User_Item, LP_Quiz_Results, LP_Course_Item, LP_Quiz, LP_Array_Access, LP_Profile_Tabs. | |
| 396 | +~ Except class LP_Query_List_Table we still keep implements ArrayAccess (will notice the warning, but don't worry, you only need to disable WP_DEBUG mode), because addons: learnpress-h5p(version 4.0.1 and lower), learnpress-assignment(version 4.0.7 and lower) require it. So you need to update to the higher version of these plugins to make sure. | |
| 397 | +~ Modified: LP_Datetime, deprecated method: toLocal, toRFC822, toUnix, setGMT, getSqlNullDate, addDuration, getPeriod. | |
| 398 | +~ Deprecated: get_time_remaining, get_time of the class LP_User_Item, get_finishing_type of the class LP_User_Item_Course. | |
| 399 | +~ Deprecated: get_course_remaining_time on the class LP_Abstract_User. | |
| 400 | +~ Modified: get_expiration_time, deprecated param $format (<a href='https://github.com/LearnPress/learnpress/commit/17502a02d5328c399f33ea1219f0c9e71f1a257d'>17502a0</a>). | |
| 401 | +~ Modified: class LP_Question_True_Or_False, LP_Question_Single_Choice, LP_Question_Multi_Choice, LP_Question_Fill_In_Blanks (<a href='https://github.com/LearnPress/learnpress/commit/3af1d1c78d3097f3d3b053ceecaf4264840eb1dc'>3af1d1c</a>). | |
| 402 | +~ Modified: class LP_Question, deprecated method: _get_default_answers, _filter_meta_box_meta, update_answer_orders (<a href='https://github.com/LearnPress/learnpress/commit/3af1d1c78d3097f3d3b053ceecaf4264840eb1dc'>3af1d1c</a>) | |
| 403 | +~ Modified: method 'get_answers' of class LP_Question (<a href='https://github.com/LearnPress/learnpress/commit/3af1d1c78d3097f3d3b053ceecaf4264840eb1dc#diff-24bccff44021f19220835ca960719a15beb4bbc8d3ffea086cccd6d42054ec7cR633'>3af1d1c</a>) | |
| 404 | +~ Deprecated: 'learn_press_course_question_permalink_friendly' function. | |
| 405 | +~ Added: 'LP_Question_Cache', LP_Session_Filter class. | |
| 406 | +~ Commented: 'learn_press_mark_user_just_logged_in' function. | |
| 407 | +~ Not store key 'order_awaiting_payment' in session, you need update 'learnpress-certificate' addon to version 4.0.4 or higher. | |
| 408 | +~ Not call: 'learn_press_clear_cart_after_payment' on hook 'get_header'. | |
| 409 | +~ Not call: 'learn_press_custom_checkout_cart' on hook 'learn_press_checkout_cart'. | |
| 410 | +~ Deprecated: 'learn_press_add_order' function. | |
| 411 | +~ Deprecated: learn_press_generate_transaction_object function. | |
| 412 | +~ Modified: LP_Shortcode_Checkout class. | |
| 413 | +~ Fixed: shortcode [learn_press_checkout] working right. | |
| 414 | +~ Deprecated: 'LP_Request_Handler' class, your need to update addons 'Course Review' (version 4.0.4 or higher), 'Wishlist' (version 4.0.4 or higher). | |
| 415 | +~ Not call 'learn_press_set_user_cookie_for_guest' function on hook 'wp'. | |
| 416 | +~ Commented: 'set_cookie' method on class LP_Request. <a href=''>c12c4b54</a> | |
| 417 | +~ Modified: 'LP_Session_Handler' class (<a href='https://github.com/LearnPress/learnpress/commit/c12c4b546548b750c3d05cb108162b3bee458d9b'>c12c4b54</a>). | |
| 418 | +~ Optimized: handle session. | |
| 419 | +~ Only set the cookie when the user does not log in. | |
| 420 | +~ When a user login is successful, the previous session of the guest user is deleted. | |
| 421 | +~ When a user logs out, expired sessions are deleted. | |
| 422 | +~ Modified: 'save_data' method of class LP_Session_Handler (<a href='https://github.com/LearnPress/learnpress/commit/c12c4b546548b750c3d05cb108162b3bee458d9b'>c12c4b5</a>). | |
| 423 | +~ Modified: 'get_cart_from_session', 'get_session_data', 'save_data' methods on class LP_Session_Handler. | |
| 424 | +~ Change name 'get_session' method to 'get_session_by_customer_id'. | |
| 425 | +~ Modified: 'update_session_timestamp', 'delete_session' methods on class LP_Session_Handler. | |
| 426 | +~ Modified: 'LP_Cart', optimize how to set session for cart, get cart items when called, instance of set on hook 'wp_loaded' always call, not call 'set_cart_cookies' when 'add_to_cart' method called. | |
| 427 | +~ Modified: 'calculate_totals' on class LP_Cart. | |
| 428 | +~ Deprecated: method 'get_cart_for_session' on class LP_Cart. | |
| 429 | +~ Modified: 'LP_Profile_Tabs' class. | |
| 430 | +~ Replace all access via array to fields and methods of classes LP_Query_List_Table, LP_Profile, LP_Profile_Tab. | |
| 431 | +~ Deprecated: 'offsetExists', 'offsetGet', 'get_current_question', 'get_question_position', 'check_question', 'get_question_link' methods LP_Quiz class. | |
| 432 | +~ Modified: 'create_order' method on class 'LP_Checkout'. | |
| 433 | +~ Deprecated: 'instructions' method on 'LP_Gateway_Offline_Payment' class. | |
| 434 | +~ Moved: settings permalink Profile to tab Permalinks. | |
| 435 | +~ Fixed security: inject SQL (CVE-2022-45820). | |
| 436 | +~ Fixed security: XSS. | |
| 437 | +~ Fixed: styles Backend, Frontend. | |
| 438 | +~ Remove save lesson preview on list lessons on the Backend. | |
| 439 | +~ Remove sortable between multiple section. | |
| 440 | +~ Modified: method "list_courses", change how call the template. | |
| 441 | +~ Checked: price is valid. | |
| 442 | +~ Fixed: search course in term with Polylang. | |
| 443 | +~ Modified: statistic of LP Order. | |
| 444 | +~ Checked: MathJax.Hub undefined. | |
| 445 | +~ Fixed: error json syntax API search courses, curriculum. | |
| 446 | + | |
| 447 | += 4.1.7.3.2 (2022-11-18) - <a href='https://thimpress.com/learnpress-v4-1-7-3-2-update/' target='_blank' rel='noopener'>View detail</a> = | |
| 448 | +~ Added: tab permalink option. | |
| 449 | +~ Modified: remove border style on the tab single course. | |
| 450 | +~ Modified: style popup complete item. | |
| 451 | +~ Show: notice check wp_remote_get if the call fail. | |
| 452 | +~ Show: notice if LearnPress has beta version. | |
| 453 | +~ Changed: text 'Enable' to 'Sticky Quiz Paging' on the Advanced Settings. | |
| 454 | + | |
| 455 | += 4.1.7.3.1 (2022-11-03) = | |
| 456 | +~ Fixed: error build missing styles. | |
| 457 | + | |
| 458 | += 4.1.7.3 (2022-11-02) = | |
| 459 | +~ Updated: text grammar. | |
| 460 | +~ Modified: LP_DateTime class. | |
| 461 | +~ Added: Course category and tag to menu. | |
| 462 | +~ Changed: input type regular price, sale price to text. | |
| 463 | +~ Call quiz get_questions function to get_question_ids. | |
| 464 | +~ Fixed: upgrade LP3 to LP4 missing result of lesson. | |
| 465 | +~ Remove file class-lp-backward-plugins.php, class-lp-factory.php, class-lp-query-search.php, class-lp-course-utils.php, class-lp-rest-authentication.php | |
| 466 | +~ Remove code deprecated before. | |
| 467 | + | |
| 468 | += 4.1.7.2 (2022-10-03) = | |
| 469 | +~ Removed: delete file mu-plugin (Moved to the plugin Thim Optimize). | |
| 470 | +~ Fixed: CVE-2022-3360 security. | |
| 471 | +~ Fixed: error "Quiz is not auto submitted when the time is expired". | |
| 472 | +~ Fixed: error "Completed item is not redirected to the next item". | |
| 473 | +~ Modified: Shortcode button LP. | |
| 474 | +~ Removed: delete shortcode 'learn_press_button_enroll'. We recommend using the shortcode 'learn_press_button_course' instead. | |
| 475 | +~ Fixed: error "Email content on one line when you save". | |
| 476 | + | |
| 477 | += 4.1.7.1 (2022-09-16) = | |
| 478 | +~ Fixed: non-LP plugins causing errors. | |
| 479 | + | |
| 480 | += 4.1.7 (2022-09-13) = | |
| 481 | +~ Fixed: IPN paypal. | |
| 482 | +~ Added: autocomplete meta-box field. | |
| 483 | +~ Fixed: h5p error in curriculum editor. | |
| 484 | +~ Modified: duplicate course, sections, items. | |
| 485 | +~ Handle multiple button Continue course. | |
| 486 | +~ Modified: has_completed_item() function. | |
| 487 | +~ Fixed: custom fields register not show on the Profile page. | |
| 488 | +~ Fixed: save order status. | |
| 489 | +~ Added: hook 'learn-press/user-item/expiration-time'. | |
| 490 | +~ Added: function duplicate question answer-meta when duplicate question. | |
| 491 | +~ Fixed: error show content of quiz when user doing questions. | |
| 492 | +~ Fixed: error fetch api has x-wp-nonce with cache expire. | |
| 493 | +~ Fixed: sidebar toggle on mobile with theme Eduma. | |
| 494 | +~ Added: autocomplete meta-box field. | |
| 495 | +~ Fixed: error not send mail when register user on page checkout. | |
| 496 | +~ Fixed: error wrong status graduation when set Passing Grade is 100% on Quiz. | |
| 497 | +~ Fixed: header, footer email of LP not detect variable. | |
| 498 | +~ Fixed: error duplicated items, section when double click. | |
| 499 | + | |
| 500 | += 4.1.6.9.3 (2022-08-10) = | |
| 501 | +~ Fixed: show wrong shortcode on course, item's course. | |
| 502 | + | |
| 503 | += 4.1.6.9.2 (2022-08-09) = | |
| 504 | +~ Fixed: show wrong special character (Ex: ü) on Section title, description. | |
| 505 | +~ Fixed: error on duplicate course, item function not same content old course, item. | |
| 506 | +~ Fixed: button sidebar toggle not show on default theme WP. | |
| 507 | +~ Fixed: ESC make error with payment gateway. | |
| 508 | + | |
| 509 | += 4.1.6.9.1 (2022-08-04) = | |
| 510 | +~ Fixed: error ESC content of course, items' course make iframe, embed not working. | |
| 511 | +~ Fixed: error complete lesson, do quiz on API for App mobile. | |
| 512 | + | |
| 513 | += 4.1.6.9 (2022-08-03) = | |
| 514 | +~ Modified: read items, read sections of course. (optimize read speed). | |
| 515 | +~ Modified: 'set_viewing_item' method. | |
| 516 | +~ Modified: set thumbnail image size on the 'Profile Page' by width setting on 'Avatar Dimensions'. | |
| 517 | +~ Fixed: error search no courses but return all (Archive courses). | |
| 518 | +~ Fixed: error LP_Shortcode_Course_Curriculum with Elementor. | |
| 519 | +~ Sanitize, ESC. | |
| 520 | +~ Deleted: folder attributes, files: 'class-lp-gdpr.php', 'class-lp-hard-cache.php', 'class-lp-repair-database.php', 'class-lp-utils.php'. | |
| 521 | +~ Clear, optimize codes. | |
| 522 | +~ Added: hook do_action 'lp/background/course/save'. | |
| 523 | +~ Added: hooks for addon LP - WPML. | |
| 524 | +~ Deprecated: methods 'load_curriculum'. | |
| 525 | +~ Style: FAQs on single course, spacing items progress, space in single tab. | |
| 526 | +~ Change: 'Course Item Per Page' set default is 10. | |
| 527 | + | |
| 528 | += 4.1.6.8 (2022-07-05) = | |
| 529 | +~ Fixed: click pagination when enable 2 option Load Courses Ajax. | |
| 530 | +~ Added: loading, error message(if it has) when start quick. | |
| 531 | +~ Fixed: error sort by popular with theme Eduma. | |
| 532 | +~ Fixed: Wordfence denied param: "author", convert to "user" on API. | |
| 533 | +~ Fixed: query popular courses for app. | |
| 534 | +~ Added: return price format for app. | |
| 535 | +~ Added: API delete account for app. | |
| 536 | +~ Merged: addon Offline Payment. | |
| 537 | +~ Fixed: styles with themes: Avada, Divi, Flastsome, Bridget, Astra, The 7. | |
| 538 | +~ Fixed: security. | |
| 539 | + | |
| 540 | += 4.1.6.7 (2022-06-20) = | |
| 541 | +~ Fixed: errors quiz when call API LP remove action 'wp_loaded'. | |
| 542 | +~ Fixed: some minor bugs. | |
| 543 | +~ Fixed: install tables for multiple sites. | |
| 544 | +~ Fixed: save settings always return tab General. | |
| 545 | +~ Fixed: layout 'select items' popup when edit course.= | |
| 546 | + | |
| 547 | += 4.1.6.6 (2022-06-13) = | |
| 548 | +~ Fixed: security. | |
| 549 | +~ Added: option "Enable loading ajax Courses on the Archive Course page". | |
| 550 | +~ Added: option "No Page load Courses Ajax". | |
| 551 | + | |
| 552 | += 4.1.6.5 (2022-05-16) = | |
| 553 | +~ Fixed: error with block theme 2022. | |
| 554 | +~ Fixed: error with LP Addon Frontend Editor. | |
| 555 | + | |
| 556 | += 4.1.6.4 (2022-05-05) = | |
| 557 | +~ Modified: setup require tables for LearnPress when activate plugin. | |
| 558 | +~ Modified: setup wizard. | |
| 559 | +~ Optimized: code. | |
| 560 | +~ Fixed don't scroll to item of section > config "Section Per Page". | |
| 561 | + | |
| 562 | += 4.1.6.3 (2022-04-20) = | |
| 563 | +~ Fixed: sort section of course. | |
| 564 | +~ Fixed: sort item of course's section when edit course. | |
| 565 | +~ Fixed: sometime call get_curriculum empty. | |
| 566 | +~ Modified: fixed when set seconds big (about 100 hours), can't convert to format time right. | |
| 567 | +~ Fixed: duplicate course not duplicate sections, items. | |
| 568 | +~ Fixed: error wp.media on page Email setting. | |
| 569 | +~ Fixed: count wrong order on the backend. | |
| 570 | + | |
| 571 | += 4.1.6.2 (2022-04-04) = | |
| 572 | +~ Fixed: go to last item of section still show button "load more items". | |
| 573 | +~ Fixed: "Undefined" when click "load more sections" on theme Eduma. | |
| 574 | + | |
| 575 | += 4.1.6.1 (2022-04-01) = | |
| 576 | +~ Optimize. | |
| 577 | +~ Fixed: error show input when retake Fill In Blank - off option "Show correct answer". | |
| 578 | +~ Modified: filter query courses API. | |
| 579 | +~ Hide load more item button which section it hide. | |
| 580 | +~ Fixed: save course is sale when edit course. | |
| 581 | +~ Added: hook "learn-press/user/quiz-finished". | |
| 582 | +~ Fixed: error site use sub-folder domain will be error 301 when checkout. | |
| 583 | +~ Fixed: error show "The item is not assigned to this course" on Page builder. | |
| 584 | +~ Fixed: error style RTL item-actions. | |
| 585 | +~ Fixed: case user guest buy course and not login, back to this course will not show button "purchase course". | |
| 586 | +~ Added: hook do_action( 'login_form' ) on the page LP Checkout, form "Login". | |
| 587 | + | |
| 588 | += 4.1.6 (2022-03-14) = | |
| 589 | +~ Compatible: with "Polylang" plugin. | |
| 590 | +~ Compatible LP Shortcode with Elementor. | |
| 591 | +~ Compatible: with block theme (Gutenberg). | |
| 592 | +~ Added: set -1 value for no limit Retake Quiz. | |
| 593 | +~ Added: order by popular courses on API. | |
| 594 | +~ Fixed: case set duration quiz = 0. | |
| 595 | +~ Fixed: case set password for quiz. | |
| 596 | +~ Fixed: create new question didn't set type. | |
| 597 | +~ Fixed: when search global WP with ?s= will not search item's course and question not assign. | |
| 598 | +~ Fixed: "Active Courses" empty on the Profile page. | |
| 599 | +~ Fixed: security does not sanitise and escape the lp-dismiss-notice. | |
| 600 | +~ Fixed: error many times redirect when access link domain/type/not_found. | |
| 601 | +~ Fixed: compare string answer not set "Match case" type Fill In Blank Question. | |
| 602 | + | |
| 603 | += 4.1.5 (2022-01-24) = | |
| 604 | +~ Modified: optimize, handle cache for query courses. | |
| 605 | +~ Added: meta key '_lp_regular_price'. | |
| 606 | +~ Modified: get price of course. | |
| 607 | +~ Added: "get_user_courses" function. | |
| 608 | +~ Fixed: security avatar image (Arbitrary Image Renaming). | |
| 609 | +~ Modified: upload avatar image. | |
| 610 | +~ Fixed: RTL style. | |
| 611 | +~ Modified: optimize load Curriculum via API, fast for big data (larger thousands items). | |
| 612 | + | |
| 613 | += 4.1.4.1 (2021-12-22) = | |
| 614 | +~ Added: settings redirect when finish course. | |
| 615 | +~ Added: enqueue script by shortcode button purchase. | |
| 616 | +~ Fixed: error save value on the textarea format code HTML. | |
| 617 | +~ Fixed: error timezone is different UTC-0 will finish quiz soon. | |
| 618 | +~ Save info total items (quiz, question,...) of course when saving the course - improve performance. | |
| 619 | +~ Fixed: error change user Guest to another user on LP Order not save. | |
| 620 | +~ Fixed: Guest buy course with user exists. | |
| 621 | +~ Fixed: Guest buy course with create account. | |
| 622 | +~ Fixed: High CPU (many query) when user login view single course. | |
| 623 | +~ Fixed: No require enroll. | |
| 624 | +~ Changed: view course's user on the Backend to the profile's user. | |
| 625 | +~ Modified: submit quiz, get result course, quiz. | |
| 626 | +~ Fixed: query get orders on Profile page. | |
| 627 | +~ Fixed: query get orders by user (multiple user) on the Backend. | |
| 628 | +~ Modified: delete course will delete section, section_items, lp_user_items, user_itemmeta. | |
| 629 | +~ Saved: info total items of course when save course - to make call fast. | |
| 630 | +~ Rewrite: function count total items of the Course. | |
| 631 | +~ Fixed: get course id when click Get Passing Grade in Evaluate via results of the final quiz. | |
| 632 | +~ Fixed: count Unassigned questions. | |
| 633 | +~ Changed logic check "fill in blank" question: user answer right all fields will get point of question, one of answer wrong, the question is fail and get point = 0. | |
| 634 | + | |
| 635 | += 4.1.4 (2021-11-08) = | |
| 636 | +~ Fixed security: when user share profile, another user can see settings as change password, change info. | |
| 637 | +~ Modify: not scroll to title courses when load first. | |
| 638 | +~ Fixed: get incorrect key setting "archive course layout". | |
| 639 | +~ Fixed: get value "From name", "Footer text" setting Email. | |
| 640 | +~ Removed: option set "From address" email, removed hook "wp_mail_from" make some site can't send email when install LP. | |
| 641 | +~ Comment some functions deprecated: "_learn_press_restrict_view_items", "_learn_press_set_user_items". | |
| 642 | +~ Added: hook "learnpress/course/template/price/can-show". | |
| 643 | +~ Added: filter "before_show_lp_widget_content". | |
| 644 | +~ Show icons on the child Settings tab - Profile page. | |
| 645 | +~ Fixed: case answer's question Fill in blank = "0" always incorrect. | |
| 646 | +~ Fixed: case content of question answers will change by hook apply_filters( 'the_content') when reload page, change to do_shortcode(). | |
| 647 | +~ Fixed: store answer of user when reload page will lose. | |
| 648 | +~ Added: hooks apply_filters('learnpress/profile/tab/enrolled/subtab-active'), apply_filters('learnpress/profile/tab-active'). | |
| 649 | +~ Modified: functions course_external_button, can_enroll_course with case course is external and purchased course. | |
| 650 | +~ Sanitize: email_footer, email_header. | |
| 651 | +~ Removed: some functions not use on file class-lp-email.php: "get_variable", "get_object", "get_common_template_data", "data_to_variables" | |
| 652 | +~ Fix show explanation when reload site. | |
| 653 | +~ Fix show message: "Your order is waiting for processing" when LP Order status is processing. | |
| 654 | +~ Fixed: condition get link last item if all items completed - on button continue. | |
| 655 | +~ Fixed: show explanation. | |
| 656 | +~ Fixed: error user login with mail buy as Guest and LP Oder completed but can't view course. | |
| 657 | +~ Fixed: error, <a href="https://blog.szfszf.top/static/papers/LearnPress_4.1.3.2_sql_injection_1cf8665be17b7708a3f180067fd2d50b.html">sql injection</a>, sanitize feature duplicate post (Course, Lesson, Quiz v.v...) | |
| 658 | + | |
| 659 | += 4.1.3.2 (2021-10-15) = | |
| 660 | +~ Fixed: security CVE-2021-39348, set sanitize for some params missing. | |
| 661 | + | |
| 662 | += 4.1.3.1 (2021-09-15) = | |
| 663 | +~ Fixed: some shortcode of latex show incorrect on question answer. | |
| 664 | +~ Added: hooks for course_continue_button, course_purchase_button, course_enroll_button. | |
| 665 | +~ Fixed: Fatal error LP_Abstract_User::get_course_data() when upgrade from LP3 to LP4. | |
| 666 | +~ Moved: function "Email hook notify" to hook "plugin_loaded". | |
| 667 | +~ Added: hooks "learnpress/hook/before-addons-call-hook-learnpress-ready". | |
| 668 | +~ Fixed security: Cross Site Scripting (XSS) on fields: External Link, Requirements, Target Audience, Key Features, FAQs. | |
| 669 | +~ Fixed: click button continue redirect wrong item. | |
| 670 | +~ Added: functions get_user_ids_enrolled, get_total_user_enrolled. | |
| 671 | +~ Fixed: error WP_Filesystem_Direct::exist not exist. | |
| 672 | + | |
| 673 | += 4.1.3 (2021-09-07) = | |
| 674 | +~ Modified: Learnpress order status on Dashboard of Wordpress. | |
| 675 | +~ Fixed: Widgets: Popular course, Feature course, Recent course, Course Progress, Course Info, Course Extra. All widget compatible with Elementor. | |
| 676 | +~ Fixed: Info Order have courses deleted on page Profile . | |
| 677 | +~ Fixed: error user can't learn course set external link when Admin created Order manual Completed has this course. | |
| 678 | +~ Improve performance. | |
| 679 | +~ Modify function set cache. | |
| 680 | +~ Modify custom post type of LP. | |
| 681 | +~ Modify feature run progress on background. | |
| 682 | +~ Handle send all email of LP (New Order, Processing Order, Completed Order, Cancelled Order, Enrolled Course, Finished Course, Become An Instructor) on Background. | |
| 683 | +~ Remove child order when Admin created Order manual. | |
| 684 | +~ Modify enroll/buy course (user, guest). | |
| 685 | +~ Added wysiwyg field for metabox. | |
| 686 | +~ Compatible with MathJax-LateX plugin. | |
| 687 | + | |
| 688 | += 4.1.2 = | |
| 689 | +~ Modify, optimize Archive course page - call API - make faster | |
| 690 | +~ Added: back icon on item page | |
| 691 | +~ Fixed: some where call old function "get_profile_socials" not has param $user_id | |
| 692 | + | |
| 693 | += 4.1.1 = | |
| 694 | +~ Added: tool clean "table session" clean sessions expire after 1 days. | |
| 695 | +~ Fixed: not show button "continue" when course is blocked. | |
| 696 | +~ Fixed: course doesn't has any item will be not show button "continue", "finish", "retake". | |
| 697 | +~ Updated: file languages | |
| 698 | + | |
| 699 | += 4.1.0 = | |
| 700 | +~ Added: feature "Allow repurchase option". Manager can set fixed: Reset/Keep course progress of course or allow student choice. | |
| 701 | +~ Fixed: show incorrect "Active Courses" on page profile. | |
| 702 | +~ Fixed: show fake student. | |
| 703 | +~ Fixed: duplicate label on form Register custom fields. | |
| 704 | + | |
| 705 | += 4.0.9 = | |
| 706 | +~ Added: option enable sticky navigation pagination when user answer question on quiz. | |
| 707 | +~ Fixed: set again current item when manager remove item current when edit course. | |
| 708 | +~ Modified: page profile - load ajax call API, show more info. | |
| 709 | +~ Fixed: can't upgrade DB from 3 to 4 because user translate menu "LearnPress". | |
| 710 | +~ Modified: Navigation on page quiz - change icon next, previous to text. | |
| 711 | +~ Fixed: function "duplicate course" not duplicate "answer option" | |
| 712 | +~ Fixed: Social icons on page profile when user view another user. | |
| 713 | +~ Fixed: on multiple site enable option "Registration is disabled" will not show form register on page Profile. | |
| 714 | + | |
| 715 | += 4.0.8 = | |
| 716 | +~ Added: feature "Allow Repurchase course" | |
| 717 | +~ Added: feature "No require enroll" | |
| 718 | +~ Fixed: Custom register fields error with some name not utf8 | |
| 719 | +~ Added: field "confirm password" on register form profile | |
| 720 | +~ Fixed: file config.js permission 403 on some sites, change name to lp-configs.js | |
| 721 | +~ Fixed: When edit course, Admin can add item of another user | |
| 722 | + | |
| 723 | += 4.0.7 = | |
| 724 | +~ Fixed: CPU runs high | |
| 725 | +~ Fixed: "start quiz" error with some cases have cached. | |
| 726 | +~ Fixed: make Elementor pro show wrong: header, footer... (theme builder) | |
| 727 | + | |
| 728 | += 4.0.6 = | |
| 729 | +~ Fixed: Page profile not show login/register form | |
| 730 | +~ Fixed: translated text on js function "Quiz" | |
| 731 | +~ Fixed: js scroll to item viewing | |
| 732 | +~ Fixed: show html title question | |
| 733 | +~ Fixed: Order change status from "completed" to "pending" => user can't learn courses in this order | |
| 734 | +~ Added: Option "Logout Redirect" | |
| 735 | +~ Fixed: Set default sidebar curriculum will be hide on mobile | |
| 736 | +~ Modify: Remove course on Overview tab when enable "Publish Profile" | |
| 737 | +~ Fixed: Elementor pro make archive course show wrong | |
| 738 | + | |
| 739 | += 4.0.5 = | |
| 740 | +~ Fixed: error "Duplicate entry" for case upgrade LP4, if user install LP4 and save setting before Upgrade Database | |
| 741 | +~ Fixed: get option 'avatar_dimensions' set default value if user not set | |
| 742 | +~ Fixed: get option 'course_thumbnail_dimensions' set default value if user not set | |
| 743 | +~ Modify template Profile | |
| 744 | +~ Fixed: tool "Reset course progress" | |
| 745 | +~ Fixed: get options "Courses per page" | |
| 746 | + | |
| 747 | += 4.0.4 = | |
| 748 | +~ Fixed: get option "archive_course_limit" default value if empty. | |
| 749 | +~ Fixed: Profile shortcode. | |
| 750 | +~ Fixed: error table "learnpress_user_itemmeta" doesn’t exist when install new. | |
| 751 | +~ Fixed: style comment function. | |
| 752 | +~ Added: form comment on course. | |
| 753 | +~ Fixed: js itemProgress undefined in Eduma theme | |
| 754 | + | |
| 755 | += 4.0.3 = | |
| 756 | +~ Fixed: tool "Reset course progress" | |
| 757 | +~ Fixed: tool "Reset user progress" | |
| 758 | +~ Added: tool "Create Database Indexes" | |
| 759 | +~ Fixed js button "Retake course" if you have more than one. | |
| 760 | +~ Added: tool "Re upgrade Database" ~ If DB upgrade not success | |
| 761 | +~ Fixed: show button finish when completed quiz - if assessment passed | |
| 762 | + | |
| 763 | += 4.0.2 = | |
| 764 | +~ Upgrade library chart.js to v3.2.1 | |
| 765 | +~ Optimize query with cache get list questions on a quiz | |
| 766 | +~ Show content(description) on page LP Profile, LP Archive | |
| 767 | +~ Fixed: errors when activated "Metabox" plugin | |
| 768 | +~ Fixed: broken layout profile page when activated "All in one seo" plugin | |
| 769 | +~ Removed: tool "Remove current Data" | |
| 770 | +~ Removed: tool "Remove outdated Data" | |
| 771 | +~ Removed: tool "Repair database" | |
| 772 | + | |
| 773 | += 4.0.1 = | |
| 774 | +~ Fixed: upgrade LP error if mysql version < 5.7 - "Specified key was too long". | |
| 775 | +~ Fixed: minor bugs. | |
| 776 | + | |
| 777 | += 4.0.0 = | |
| 778 | +~ Added new UI/UX for Quiz screen in frontend. | |
| 779 | +~ Added enable Gutenberg for lesson and quiz and question. | |
| 780 | +~ Added extra meta for course: Requirements, Target Audience, Key Features. | |
| 781 | +~ Improved quiz settings that made it simpler and easy to use. | |
| 782 | +~ Improved single course page. | |
| 783 | +~ Improved archive course page. | |
| 784 | +~ Restructure database tables. | |
| 785 | +~ Added some hooks/filters. | |
| 786 | + | |
| 787 | += 3.2.8.8 = | |
| 788 | +~ Fix compatible PHP 8.0.3 | |
| 789 | +~ Fix Yoat SEO course category title not working | |
| 790 | + | |
| 791 | += 3.2.8.7 = | |
| 792 | +~ Fix: start quiz 404 | |
| 793 | +~ Optimize | |
| 794 | + | |
| 795 | += 3.2.8.6 = | |
| 796 | +~ Fix minor bug | |
| 797 | +~ Optimize enroll course | |
| 798 | +~ Add cache get items' course | |
| 799 | +~ Add reset progress by course_id | |
| 800 | +~ Fix "Enroll Button" is not appearing when disable "Auto Enroll" option | |
| 801 | + | |
| 802 | += 3.2.8.5 = | |
| 803 | +~ Fix header lesson style error on iphone | |
| 804 | +~ Fix scrollbar error some themes | |
| 805 | +~ Fix scroll js to item user viewing | |
| 806 | +~ Add filter 'lp/email/type-order/object', 'lp/email/order/support_variable' | |
| 807 | + | |
| 808 | += 3.2.8.4 = | |
| 809 | +~ Add function Scan database if have not index in table will create | |
| 810 | +~ Add function Repurchase course when course finished or block duration expire | |
| 811 | +~ Fix function Statistics | |
| 812 | +~ Fix error content lesson conflict when activated elementor & yoast seo | |
| 813 | +~ Fix order status on Dashboard screen | |
| 814 | +~ Remove js scrollbar jquery | |
| 815 | +~ Add option 'Enable Popup Confirm Finish Course, Complete Item | |
| 816 | +~ Add message block duration | |
| 817 | + | |
| 818 | += 3.2.8.3 = | |
| 819 | +~ Fix compatible PHP 8.0 | |
| 820 | +~ Fix checkout message error | |
| 821 | +~ Optimize | |
| 822 | + | |
| 823 | += 3.2.8.2 = | |
| 824 | +~ Fix compatible WP 5.6 | |
| 825 | +~ Fix error Yoast-Seo in course archive page | |
| 826 | +~ Error file global.js on 'Twenty Seventeen' theme | |
| 827 | +~ Fix error page course archive with YoastSeo | |
| 828 | +~ Fix count students enrolled course on list course backend | |
| 829 | +~ Fix toggle curriculum bar for right-to-left | |
| 830 | + | |
| 831 | += 3.2.8.1 = | |
| 832 | +~ Fix WPBakery load style inline on course's item page | |
| 833 | +~ Fix make co-instructor not show list courses on backend | |
| 834 | +~ Fix miss lib vue js on LearnPress / Tools / Course page | |
| 835 | + | |
| 836 | += 3.2.8 = | |
| 837 | +~ Fix query get posts (courses, items courses) on Backend - multiple site | |
| 838 | +~ Fix error not same param on hook of Yoast SEO vs Yoast SEO premium | |
| 839 | +~ Fix security XSS function view_log | |
| 840 | +~ Fix check if get user on function learn_press_course_purchase_button() is null | |
| 841 | +~ Fix create statics pages LP on 'lp setup' page | |
| 842 | +~ Show message duplicate class RWMB_Field with another plugins | |
| 843 | + | |
| 844 | += 3.2.7.9 = | |
| 845 | +~ Fix question not show description | |
| 846 | + | |
| 847 | += 3.2.7.8 = | |
| 848 | +~ Fix save author id when add item when edit course | |
| 849 | +~ Fix title, description item course when install yoast seo plugin | |
| 850 | +~ Fix Retake when not enable duration expire | |
| 851 | +~ Fix function 'Instructors Registration' | |
| 852 | +~ Add function Export order invoice PDF | |
| 853 | + | |
| 854 | += 3.2.7.7 = | |
| 855 | +~ Add Evaluate via questions | |
| 856 | +~ Add Evaluate via mark | |
| 857 | +~ Fixed duration expire course | |
| 858 | +~ Fixed link 'Preview change' button when edit item course | |
| 859 | +~ Fixed title of course archive page | |
| 860 | +~ Fixed if quiz has only one question will not show paginate | |
| 861 | + | |
| 862 | += 3.2.7.6 = | |
| 863 | +~ Fix missing file class-lp-course-database.php | |
| 864 | + | |
| 865 | += 3.2.7.5 = | |
| 866 | +~ Fixed run Elementor with question. | |
| 867 | +~ Fixed lesson preview not show button complete when user enrolled. | |
| 868 | +~ Add tag apply_filter 'learn-press/order-item-not-course-id' on received-order. | |
| 869 | +~ Add tag apply_filter 'learn-press/tmpl-button-purchase-course' before return button purchase course. | |
| 870 | +~ Optimize (permalink of items course). | |
| 871 | +~ Show finish course button when items of course completed although the course not passed. | |
| 872 | +~ Fixed explanation of question when user completed quiz. | |
| 873 | +~ Hide description of quiz when the quiz completed. | |
| 874 | + | |
| 875 | += 3.2.7.4 = | |
| 876 | +~ Fix can't load items when select on Order Backend | |
| 877 | + | |
| 878 | += 3.2.7.3 = | |
| 879 | +~ Fixed error get_image() return bool not string on the file \templates\loop\course\thumbnail.php | |
| 880 | +~ Modify description for the function 'External Link' | |
| 881 | +~ Fixed LP_Datetime error with date = '0000-00-00 00:00:00' | |
| 882 | +~ Fixed not show number Duration of Lesson when translate text | |
| 883 | +~ Fixed not send mail for instructor when have new order | |
| 884 | +~ Remove hook get avatar of Ultimate member plugin | |
| 885 | +~ Fixed get value with, height image_size on LP setting | |
| 886 | +~ Fixed security, clear sanitize | |
| 887 | +~ Wilfried, security ninja at Synacktiv | |
| 888 | +~ Fixed compatible with Elementor on items of course (lesson, quizz, question v.v...) | |
| 889 | + | |
| 890 | += 3.2.7.2 = | |
| 891 | +~ Fixed email setting not save tag html | |
| 892 | + | |
| 893 | += 3.2.7.1 = | |
| 894 | +~ Fix save settings | |
| 895 | + | |
| 896 | += 3.2.7 = | |
| 897 | +~ Fix sanitize | |
| 898 | + | |
| 899 | += 3.2.6.10 = | |
| 900 | +~ Fix add-on GradeBook | |
| 901 | + | |
| 902 | += 3.2.6.9 = | |
| 903 | +~ Revert library meta-box to v4.15.7 | |
| 904 | + | |
| 905 | += 3.2.6.8 = | |
| 906 | +~ Fixed security: remove functions low security | |
| 907 | +~ Fixed some minor bugs | |
| 908 | +~ Fixed confusing "external link button" name default of course | |
| 909 | +~ Fixed filter items of course | |
| 910 | +~ Fixed create same name, slug page Checkout with Woo | |
| 911 | +~ Improve performance | |
| 912 | + | |
| 913 | += 3.2.6.7 (2020.03.16) = | |
| 914 | +~ Fixed security issues (CVE-2020-7916): uer logged can change role all users to Instructor | |
| 915 | +~ Fixed security issues (CVE-2020-7917): remove function low security | |
| 916 | +~ Fixed error preview Assignment | |
| 917 | + | |
| 918 | += 3.2.6.6 = | |
| 919 | +~ Fixed option Block Lessons not working | |
| 920 | + | |
| 921 | += 3.2.6.5 (20.11.2019) = | |
| 922 | +~ Fixed email doesn't send. | |
| 923 | +~ Fixed some js errors. | |
| 924 | +~ Fixed js call twice times. | |
| 925 | +~ Fixed question doesn't show after added to quiz. | |
| 926 | +~ Fixed ignore some metadata when copying course. | |
| 927 | +~ Fixed search orders in backend. | |
| 928 | + | |
| 929 | += 3.2.6.4 = | |
| 930 | +~ Fixed some errors. | |
| 931 | + | |
| 932 | += 3.2.6.3 = | |
| 933 | +~ Fixed css conflict with text block of vc. | |
| 934 | +~ Fixed show message 'Out of stock' for course reached limitation users. | |
| 935 | +~ Fixed show checked answers when review quiz. | |
| 936 | +~ Fixed review quiz option does not work properly. | |
| 937 | +~ Fixed update view after removing order's items. | |
| 938 | + | |
| 939 | += 3.2.6.2 = | |
| 940 | +~ Fixed cannt add items to course. | |
| 941 | + | |
| 942 | += 3.2.6 = | |
| 943 | +~ Added option to exclude js/css libraries unnecessary (used in theme or other plugins). | |
| 944 | +~ Added alt prop to user profile avatar. | |
| 945 | +~ Fixed can't next/prev questions when doing quiz. | |
| 946 | +~ Fixed wrong items navigation when learning course. | |
| 947 | +~ Fixed missing js of some pages in admin. | |
| 948 | +~ Fixed can't close admin notices. | |
| 949 | +~ Updated envato api to newer version. | |
| 950 | + | |
| 951 | += 3.2.5.6 = | |
| 952 | +~ Added new strings for translating. | |
| 953 | +~ Corrected currency of Rwandan franc. | |
| 954 | +~ Fixed missing utils library when adding manually the orders. | |
| 955 | +~ Fixed upgrade function that doesn't hide the message when it done. | |
| 956 | +~ Fixed can't create new page in settings. | |
| 957 | + | |
| 958 | += 3.2.5.5 = | |
| 959 | +~ Fixed guest can not start quiz with no require enroll course option. | |
| 960 | +~ Fixed sql to filter orders by user ID. | |
| 961 | +~ Fixed issue of sending email when finished course: not correct Grade. | |
| 962 | +~ Fixed can not see Actions buttons when adding questions into the quiz. | |
| 963 | +~ Fixed changed the logic of Continue button for Course: continue with the next incomplete item. | |
| 964 | +~ Fixed wrong code to pick up instructor email. | |
| 965 | + | |
| 966 | += 3.2.5.4 = | |
| 967 | +~ Fixed load js missing dependencies and only in LP page. | |
| 968 | + | |
| 969 | += 3.2.5.3 = | |
| 970 | +~ Changed SQL to read course items by user item ID. | |
| 971 | +~ Improved performance in admin orders page. | |
| 972 | +~ Upgraded Vue/Vuex to latest version. | |
| 973 | +~ Added new theme to LP ad. | |
| 974 | + | |
| 975 | += 3.2.5.2 = | |
| 976 | +~ Fixed bug can't access course after purchased. | |
| 977 | +~ Fixed bug user can't redo quiz with option 'Retake' is 1. | |
| 978 | +~ Fixed bug can't order questions by date in questions bank. | |
| 979 | +~ Extracted purchased date to date and time in order emails. | |
| 980 | +~ Show point of quiz in result page. | |
| 981 | + | |
| 982 | += 3.2.5.1 = | |
| 983 | +~ Fixed can not next/prev question when doing quiz. | |
| 984 | +~ Fixed get wrong total student of a course. | |
| 985 | +~ Updated language .POT file. | |
| 986 | + | |
| 987 | += 3.2.5 = | |
| 988 | +~ Fixed button for creating LP pages does not work properly. | |
| 989 | +~ Fixed warning when getting course items does not exists. | |
| 990 | +~ Added button to close warning for outdated templates. | |
| 991 | +~ Fixed search order not working. | |
| 992 | +~ Fixed get course items in incorrect order. | |
| 993 | +~ Fixed can't start quiz when the course is not required enroll. | |
| 994 | +~ Fixed the amount number of enrolled users isn't updated correctly. | |
| 995 | + | |
| 996 | += 3.2.4 = | |
| 997 | +~ Fixed cannot enroll course. | |
| 998 | +~ Fixed prev question button not working correct. | |
| 999 | +~ Fixed one extra answer option when add new question. | |
| 1000 | +~ Fixed some deprecated keywords for PHP 7.3. | |
| 1001 | +~ Fixed item is null for an item which doesn't support it's type (like assignment after deactivate). | |
| 1002 | +~ Fixed bug the next and prev button not work in review mode of quiz. | |
| 1003 | + | |
| 1004 | += 3.2.3 = | |
| 1005 | +~ Removed un-security code in PP library. | |
| 1006 | +~ Fixed get curriculum item types doesn't work properly. | |
| 1007 | +~ Fixed sort sections/items wrong in SQL query. | |
| 1008 | + | |
| 1009 | += 3.2.2 = | |
| 1010 | +~ Fixed review quiz doesn't work properly. | |
| 1011 | +~ Fixed table session create a lot of rows. | |
| 1012 | +~ Fixed can't enroll to a course purchased. | |
| 1013 | +~ Removed unused functions. | |
| 1014 | + | |
| 1015 | += 3.2.1 = | |
| 1016 | +~ Fixed can't enroll course. | |
| 1017 | +~ Fixed upload issue and drag user avatar on mobile. | |
| 1018 | +~ Fixed course duration does not work properly. | |
| 1019 | +~ Fixed question with multi language. | |
| 1020 | +~ Fixed mail to user 2 times when completed course. | |
| 1021 | + | |
| 1022 | += 3.2.0 = | |
| 1023 | +~ Fixed issue info of order added manual not correct. | |
| 1024 | +~ Fixed issue course duplicated is published. | |
| 1025 | +~ Fixed issue Course content column show as "No Content". | |
| 1026 | +~ Fixed some issues related to cache. | |
| 1027 | + | |
| 1028 | += 3.1.0 = | |
| 1029 | +~ Fixed issue vulnerabilities. | |
| 1030 | +~ Fixed issue related to object cache when doing quiz. | |
| 1031 | +~ Fixed lesson 404 with Polylang. | |
| 1032 | +~ Fixed PHP Fatal error class ‘LP_Plugins_Helper’ not found | |
| 1033 | + | |
| 1034 | += 3.0.12 = | |
| 1035 | +~ Fixed minor bug in gradebook list in admin | |
| 1036 | +~ Made hook learn-press/course-tabs work | |
| 1037 | +~ Fixed bug: not auto complete quiz. Add 1 more filter hook for checking publicity in profile page | |
| 1038 | +~ Fixed bug: auto enroll course without permission to enroll course | |
| 1039 | +~ Changed filter tag for get_default_meta of lesson | |
| 1040 | +~ Auto full-screen in mobile view | |
| 1041 | +~ Fixed bug: wrong count number in No Preview at Lessons List back-end page | |
| 1042 | +~ Fixed bug: Instructor user cannot see comments of lesson | |
| 1043 | +~ Changed version for template files | |
| 1044 | +~ Added base url for construct nav in user profile | |
| 1045 | +~ Added param for get_nav method | |
| 1046 | +~ Fixed bug: answer correct all question but quiz result is failed with 0% | |
| 1047 | +~ Fixed small bug in quiz editor | |
| 1048 | +~ Fixed bug: wrong count number of the courses in back end because of the status of preview course | |
| 1049 | +~ Fixed bug: not redirect to correct page after logged in in Profile page | |
| 1050 | +~ Fixed bug fatal error include file | |
| 1051 | +~ Added icon for chat-type-format of content item | |
| 1052 | +~ Fixed header-sent when log file | |
| 1053 | + | |
| 1054 | += 3.0.10 = | |
| 1055 | +~ Added quiz option to minus a number of points for each wrong question in quiz | |
| 1056 | +~ Added admin email to send to admin when an order is completed | |
| 1057 | +~ Added button allows wp admin can send a request to subscriber | |
| 1058 | +~ Improved auto redirecting to current question when user go to a quiz | |
| 1059 | +~ Improved UI of course editor for RTL | |
| 1060 | +~ Improved content of email sending to admin and instructor | |
| 1061 | +~ Fixed page show 404 with pagination in courses page (conflict with WPML) | |
| 1062 | +~ Fixed course price is still showing after user enrolled course | |
| 1063 | +~ Fixed not auto redirecting to checkout after logged in | |
| 1064 | +~ Fixed some issues made question can't edit | |
| 1065 | +~ Fixed issue for requesting to get related themes/addons in admin | |
| 1066 | +~ Fixed some issues with content header when viewing in Safari | |
| 1067 | +~ Fixed wrong ordering of course item when adding new | |
| 1068 | +~ Fixed order for multiple users is not show in list of orders | |
| 1069 | +~ Fixed some text is not translatable | |
| 1070 | +~ Fixed breadcrumb not show page name when viewing archive course | |
| 1071 | +~ Fixed archive course show header is title of first course | |