Changelog

Keep up to date with all our updates.

  • Sensei 1.2.1

    • /assets/js/lesson-metadata.js – security improvements
    • /classes/class-woothemes-sensei-admin.php,
      /classes/class-woothemes-sensei-analysis.php,
      /classes/class-woothemes-sensei-lesson.php,
      /classes/class-woothemes-sensei.php – security improvements
    • /classes/class-woothemes-sensei-course.php – security improvements, fix for course image output, fix for trashed variations
    • /classes/class-woothemes-sensei-frontend.php – improved template hooks, fix for WC add to cart url
    • /classes/class-woothemes-sensei-posttypes.php – fix for lesson_comments setting
    • /classes/class-woothemes-sensei-utils.php – fix for comments_clauses filter
    • /inc/woothemes-sensei-template.php – improved template hooks
    • /templates/archive-course.php,
      /templates/archive-lesson.php,
      /templates/loop-lesson.php,
      /templates/no-permissions.php,
      /templates/single-course.php,
      /templates/single-course/course-meta.php,
      /templates/single-lesson.php,
      /templates/single-lesson/lesson-meta.php,
      /templates/single-quiz.php,
      /templates/single-quiz/quiz-questions.php,
      /templates/taxonomy-course-category.php,
      /templates/user/my-courses.php – improved template hooks
    • /templates/wrappers/wrapper-end.php,
      /templates/wrappers/wrapper-start.php – added support for Canvas styling
    • /widgets/widget-woothemes-sensei-category-courses.php,
      /widgets/widget-woothemes-sensei-course-categories.php,
      /widgets/widget-woothemes-sensei-course-component.php,
      /widgets/widget-woothemes-sensei-lesson-component.php – security improvements
  • Sensei 1.2.0

    • /assets/css/settings.css – styling changes for Analysis
    • /assets/js/lesson-metadata.js – fix for media upload button not firing
    • /classes/class-woothemes-sensei.php – refactor for loading of classes, added subscriptions hooks, added logic for woocommerce order cancellation
    • /classes/class-woothemes-sensei-analysis.php – refactor to use List Tables class, output functions for new Analysis areas, added export capability for Analysis tables
    • /classes/class-woothemes-sensei-analysis-course.php – new class to handle Analysis Courses
    • /classes/class-woothemes-sensei-analysis-lesson.php – new class to handle Analysis Lessons
    • /classes/class-woothemes-sensei-analysis-overview.php – new class to handle Analysis Overview
    • /classes/class-woothemes-sensei-analysis-user-profile.php – new class to handle Analysis User Overview
    • /classes/class-woothemes-sensei-course.php – add filter for course placeholder image, handle product_variation post type
    • /classes/class-woothemes-sensei-frontend.php – new hooks for frontend use, filters for custom nav menu items
    • /classes/class-woothemes-sensei-lesson.php – add filter for lesson placeholder image
    • /classes/class-woothemes-sensei-list-table.php – new list table class to handle data tables
    • /classes/class-woothemes-sensei-posttypes.php – refactor for loading of classes
    • /classes/class-woothemes-sensei-utils.php – refactor for removing of comment_clause filters for checking sensei activity
    • /inc/woothemes-sensei-template.php – removes old functions, recent comments widget fix
    • /templates/archive-course.php – fixes shortcode issues on paginated pages
    • /templates/content-no-permissions.php – uses new frontend hooks
    • /templates/content-single-course.php – uses new frontend hooks
    • /templates/content-single-lesson.php – uses new frontend hooks
    • /templates/content-loop-course.php – uses new frontend hooks
    • /templates/content-loop-lesson.php – uses new frontend hooks
    • /templates/content-taxonomy-course-category.php – uses new frontend hooks
    • /templates/woocommerce/add-to-cart.php – handle product_variation post type
    • /widgets/widget-woothemes-sensei-category-courses.php – uses new frontend hooks
    • /widgets/widget-woothemes-sensei-course-component.php – uses new frontend hooks
    • /widgets/widget-woothemes-sensei-lesson-component.php – uses new frontend hooks
  • Sensei 1.1.2

    • classes/class-woothemes-sensei-utils.php – fix to check if product was purchased
    • classes/class-woothemes-sensei.php – fix for checking product id
  • Sensei 1.1.1

    • classes/class-woothemes-sensei.php – modify function call to use global object, added new product object function
    • inc/woothemes-sensei-template.php – modify function call to use global object, removed old function
    • templates/woocommerce/add-to-cart.php – modify function call to use global object
  • Sensei 1.1.0

    • assets/chosen/* – added chosen library for improved dropdown usability
    • assets/css/frontend.css – frontend course category meta styling
    • assets/css/global.css – admin chosen drop down styling, admin add question button styling
    • assets/js/lesson-metadata.js – js to set select inputs to use chosen library for Courses, Lessons, and Settings admin area, allow HTML in question title and answers
    • classes/class-woothemes-sensei-admin.php – register chosen styles
    • classes/class-woothemes-sensei-course.php – added Course Category column to the write panel and quick edit, added permissions for WooCommerce adding of products, modified course query for paid and free products to check the actual prices of the products
    • classes/class-woothemes-sensei-frontend.php – logic for additional lesson pagination, additional hooks for frontend output
    • classes/class-woothemes-sensei-lesson.php – added Course Category to Ajax Course add, register chosen js, added permissions for adding of Courses, modified quiz_questions query to take additional params for ordering
    • classes/class-woothemes-sensei-posttypes.php – register new Course Category taxonomy for Courses post type, add menu item for Course Category write panel, added meta caps for future post types permissions
    • classes/class-woothemes-sensei-settings.php – added option to randomize the quiz questions
    • classes/class-woothemes-sensei-updates.php – new Class for running Sensei upgrade functions
    • classes/class-woothemes-sensei.php – register new widgets, refactor widget register logic, logic for Course Category taxonomy archive templater loader, added upgrade function actions, added WC functions for virtual products
    • inc/woothemes-sensei-template.php – added function to get the next and previous lessons, added Course Category archive header logic to template function
    • templates/content-no-permissions.php – pagination modification
    • templates/content-single-course.php – pagination modification, course access permissions fix, added frontend hooks for output
    • templates/content-single-lesson.php – pagination modification, added frontend hooks for output
    • templates/content-single-quiz.php – pagination modification, added frontend hooks for output
    • templates/loop-course.php – added Course Category meta info
    • templates/taxonomy-course-category.php – template file for new Course Category taxonomy terms
    • templates/single-lesson/lesson-meta.php – conditional for message output
    • templates/single-quiz/quiz-questions.php – logic for randomizing quiz questions
    • templates/user/my-courses.php – added Course Category meta info
    • templates/wrappers/pagination-lesson.php – added file for lesson pagination
    • templates/wrappers/pagination-posts.php – added file for default pagination
    • templates/wrappers/pagination-quiz.php – added file for quiz lesson pagination
    • widgets/widget-woothemes-sensei-category-courses.php – added file to display Courses from a specific Category
    • widgets/widget-woothemes-sensei-course-categories.php – added file to display a list of Course Categories