Changelog
Keep up to date with all our updates.
-
Sensei 1.9.4
- Fix – Ensure current quiz grade is displayed when submitting autograded quizzes.
- Fix – Ensure grading notes are always displayed when quiz is manually graded.
- Fix – Prevent fatal error when adding learner to a course.
- Fix – Prevent Uncaught ReferenceError when removing learner from a course.
- Fix – Ensure questions don’t change after submission when using a subset of questions in a quiz.
- Fix – Fixed label text on search button in Learner Management.
- Fix – Fixed incorrect WC order status.
- Fix – Fixed an issue with is_course_purchasable()
- New – Added support for WP QuickLaTeX plugin.
- New – Added new ‘sensei_courses_shortcode_course_data’ filter in courses.
- New – Added a ‘sensei_load_default_supported_theme_wrappers’ filter to allow disabling custom theme wrappers.
- Tweak – Updated support link in Plugins page.
-
Sensei 1.9.3
- Fix – Message titles now link to the individual messages.
- Fix – Make sure Sensei does not affect the display of blog posts.
- Fix – Fixed a few php warnings.
- Fix – Courses linked to product variations can now be purchased.
- Fix – Make “Free Preview” translation ready.
- Fix – Make sure lessons can’t be viewed until the prerequisite is complete.
- Fix – Fixed the course component widget for active and completed courses.
- Fix – Ensure courses can’t be accessed if linked to a subscription that is on-hold, cancelled, or expired.
- Tweak – Improved appearance of tabs when using
Login
Register
- New – Added ‘Configure’, ‘Docs’, and ‘Support’ links to Sensei on Plugins page.
-
Sensei 1.9.2
- Fix – Access permissions restored to the way it worked in version 1.8.8, totally removing the no-permissions templates.
- Fix – Using $wpdb to prefix mysql queries, missed one instance in version 1.9.1
- Fix – Use the correct wc statuses when checking if an order is acceptable.
- Fix – Ensure wc_get_product is wrapped inside a is WooCommerce active check to ensure the function exists.
- Fix – Avoid checking if a user is on a course if the user is not logged in, removing an error notice.
- Fix – ensure the take course button shows up for logged in user on the no-permissions template.
- Fix – Boolean questions should not have default values.
- Fix – Fix up the course component widget.
- Fix – Add the missing preview label for preview lessons that appear in modules on a single course.
- Fix – Remove users saved data from lesson when they are removed.
- Fix – Hide complete lesson button on lesson when the current user is not taking the lessons course.
- Fix – Hide preview if user is already taking course.
- Fix – Creating sensei pages now updated correctly within settings.
- Tweak – Hide add to cart if the course is already in cart.
- Tweak – Get user saved answers to return null of none was saved as false values could also be answer values.
- Tweak – Function sensei_can_user_view_lesson will now also work from the quiz template context.
- Tweak – Fix up the frontend notification system to use the notification functionality built into Sensei.
- New – Introduce a new function for checking if a course is purchasable.
-
Sensei 1.9.1
- Fix – Use strtolower function on hosts that do not support mb_stringtolower.
- Fix – Use $wpdb prefix for mysql queries where it wasn’t added.
- Fix – Avoid division by zero error.
- Fix – Do not hide embedded videos for admins and when a lesson is in preview mode.
- Fix – The Woocommerce class should only be added to no-permissions template.
- Fix – Ensure we check for is_object before trying to access the object property.
- Fix – Add strings manually to allow for easier translation.
- Fix – Fatal error on certain hosts by providing a direct path to woocommerce hooks loading file.
- Fix – Fix the no permissions template when displaying a single course should also show lessons and possible modules.
- Fix – Fix the preview lesson to ensure the message shown is the same as it was in 1.8.8
- Fix – Modules status was now shows the correct status message and css class.
- Fix – Boolean question type html shows both false and true option correctly.
- Fix – Update POT file to ensure no error are present.
- Fix – Single course full or excerpt settings now show up exactly as it was set.
- Fix – Hide view quiz button from users not taking the lesson
- Fix – Hide login message from users who are already logged in
- Fix – WooCommerce bug where users couldn’t purchases a course
- Fix – Ensure that users manually added to a paid course still have access.
- Tweak – Remove the delete course button from my-course while still allowing developers to show it with a filter.
-
Sensei 1.9
For a list of files changed please see: https://github.com/woothemes/sensei/compare/version/1.8.9-beta-1…master#files_bucket
- New – Templates system completely overhauled. The templates now contain almost no logic, just hooks and html. Most functionality
is hooked in which allows for even more customization and easier update fixes. It is also easier to read. This
also includes the use of more functions to enforce greater code reuse. - New – Shortcode all the things. We’ve heard you here and we’ve added more shortcodes so can worry less about templates.
the new shortcodes are on our support documentation. The old shortcodes works fine. - New – Course Archives template now overtakes the selected page giving you a new filterable list of courses.
- New – A Next lesson button for easier flow while students progress through a course.
- New – Custom round function that can be filtered, for developers to choose the decimals.
- New – Sensei() now officialy replaces $woothemes_sensei, which will be deprecated soon.
- New – php classes are now auto loaded when needed instead of loading all classes for every request.
- New – New filters for all sensei core post type for easier customization.
- New – Allow for zero graded questions, so you can ask things questions just for fun 🙂
- New – Option to send email to teacher when a learner completes a lesson
- New – Course management metabox to Edit Course screen so you can jump to learner management and grading directly.
- New – Renamed frontend.css to sensei.scss to avoid conflict and confusion with other plugins and themes.
- New – Course in progress icon change so that it doesn’t look like it’s loading all the time.
- New – Admin WordPress notice styles to align with core.
- New – Support for Twentysixteen WordPress default theme
- Fix – Integration support for WooCommerce subscriptions extension.
- Fix – File upload popup didn’t work on the single question edit screen.
- Fix – A call to the wrong get user function.
- Fix – Encoding issues when using strtolower fixed. The function now returns utf-8.
- Fix – Corrected a few typos.
- Fix – No more forced updates. You are free to do them when you choose.
- Fix – Broken html In certain places.
- Fix – Use slug when adding question type and not the name.
- Fix – Moved course details outside of H2 heading.
- Fix – Ensure that grading notes show up for gap fill questions.
- Fix – Remove extra forward slash when loading templates.
- Fix – Multi-line question answers not showing in admin grading.
- Fix – File upload paths on Multi-site.
- Fix – No more double “Quiz Quiz” on your single quiz.
- Fix – Sensei now handles url rule flushing so you don’t see 404 for Sensei specific page and post types.
- Fix – Fix a few critical issues where we we <? instead of <?php
- Fix – The admin url 404 after installing sensei pages.
- Tweak – Purchased courses now show up on top of the order review page in a WooCommerce notice.
- Tweak – Many functions have been deprecated in favor of better named functions.
- Tweak – We’ve removed all apply_filters around strings because they are redundant when string can already be alterd
by using translation filters. - Tweak – Deprecated all of the old template hooks in order to make place for new, more generic hooks.
- Tweak – New congratulations messaging for when a user completed a lesson that doesn’t require a pass to complete.
- Tweak – Removed the CSS variations for Sensei messages.
- Tweak – Set wp-login.php as a fallback in case a my courses page is not set.
- Tweak – Sensei user capabilities now loaded plugin activation.
- Tweak – Quiz post type title can’t be edited any more as it is auto generated.
- Tweak – Teachers are no redirected to admin url when they log in.
- Tweak – Show admin bar to users who can ‘edit_courses’.
- Tweak – Better support for variable WooCommerce products.
- Tweak – Improved help text on video embed field.
- Tweak – A new class to handle all template related functionality.
- Tweak – Template specific hooks moved to a separate file under includes/hooks/template.php.
- Tweak – Add with_front property to rewrite rules for better url customization.
- Tweak – All internal php classes files and names have been renamed to conform to our new naming structure
class-sensei-class-name.php, removing woothemes. - Tweak – Sensei moved over to Select 2 completely. No more chosen. This means better mobile support.
- Tweak – All sensei scripts now load the script with the installed Sensei version appended.
- Tweak – Better class and function comments to assist developer IDE with discovery.
- Tweak – General code cleanup.
- New – Templates system completely overhauled. The templates now contain almost no logic, just hooks and html. Most functionality