Skip to content

Commit

Permalink
Merge pull request #7433 from Automattic/release/4.20.1
Browse files Browse the repository at this point in the history
Release 4.20.1
  • Loading branch information
Imran92 committed Jan 17, 2024
2 parents a497057 + 406e9ed commit 6535ad7
Show file tree
Hide file tree
Showing 29 changed files with 802 additions and 779 deletions.
23 changes: 23 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
*** Changelog ***

## 4.20.1 - 2024-01-17
### Added
- Log event when task on Sensei Home is completed [#7430](https://github.com/Automattic/sensei/pull/7430)

### Changed
- Create all necessary Sensei pages on plugin activation [#7426](https://github.com/Automattic/sensei/pull/7426)
- Do not display course theme step on Setup Wizard if theme is already installed [#7401](https://github.com/Automattic/sensei/pull/7401)
- Hide Gutenberg tour modal in Sensei new Course editor [#7399](https://github.com/Automattic/sensei/pull/7399)
- Include instructions to the High-Performance Progress Storage settings screen [#7420](https://github.com/Automattic/sensei/pull/7420)
- Take user to Learning Mode Lesson Template in Setup task instead of only site editor [#7393](https://github.com/Automattic/sensei/pull/7393)
- Update course notices to have a CTA for course editors [#7403](https://github.com/Automattic/sensei/pull/7403)

### Fixed
- Don't send Course Completion email twice (when the course is already completed) [#7405](https://github.com/Automattic/sensei/pull/7405)
- Message "Cannot register for an unpublished course" was not being displayed [#7403](https://github.com/Automattic/sensei/pull/7403)
- Redirect properly when course editor enrols in a course containing only draft lessons [#7403](https://github.com/Automattic/sensei/pull/7403)
- Set email template only for sensei_email post type. [#7402](https://github.com/Automattic/sensei/pull/7402)
- Settings form not redirecting to the correct tab when submitted [#7424](https://github.com/Automattic/sensei/pull/7424)
- WPML compatibility fix: Add translations for lessons and quizzes that were created while saving the course structure. [#7383](https://github.com/Automattic/sensei/pull/7383)

### Development
- Introduce Clock interface and corresponding public property for Sensei object. [#7395](https://github.com/Automattic/sensei/pull/7395)

## 4.20.0 - 2023-12-14
### Added
- Introduce an experimental feature: High-Performance Progress Storage. It allows student progress data to be stored in an optimized way, using custom tables. The feature is disabled by default and can be enabled from the settings page.
Expand Down
4 changes: 0 additions & 4 deletions changelog/add-create-sensei-pages-on-activation

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/add-dont-show-gutenberg-tour-for-course-wpcom

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/add-hpps-instructions

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/add-setup-wizard-course-theme-check

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/add-update-customize-template-task

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/change-course-notices

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-cannot-register-unpublished-course-notice

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-course-completion-email-duplicates

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-email-template-switch

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-redirect-on-enrollment-with-draft-lessons

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-settings-form-redirect

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-time-based-tests

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-wpml-save-course-structure

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/update-log-completed-home-tasks

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ public function update_tasks_statuses() {
*
* @internal
*
* @since $$next-version$$
* @since 4.20.1
*
* @param int $post_id Post ID.
* @param WP_Post $post Post object.
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/class-sensei-course-outline-block.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ public function render_course_outline_block( $attributes ) {
*
* @internal
*
* @since $$next-version$$
* @since 4.20.1
*/
public function frontend_notices() {
$post = get_post();
Expand Down
4 changes: 2 additions & 2 deletions includes/class-sensei-course-structure.php
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ private function create_lesson( array $item ) {
/**
* Fires after a lesson is created while saving the course structure.
*
* @since $$next-version$$
* @since 4.20.1
*
* @hook sensei_course_structure_lesson_created
*
Expand Down Expand Up @@ -570,7 +570,7 @@ private function create_quiz( int $lesson_id ) {
/**
* Fires after a quiz is created while saving the course structure.
*
* @since $$next-version$$
* @since 4.20.1
*
* @hook sensei_course_structure_quiz_created
*
Expand Down
2 changes: 1 addition & 1 deletion includes/class-sensei-utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -1955,7 +1955,7 @@ public static function update_course_status( $user_id, $course_id, $status = 'in
* @hook sensei_course_status_updated
*
* @since 1.7.0
* @since $$next-version$$ $previous_status parameter added.
* @since 4.20.1 $previous_status parameter added.
*
* @param string $status The status.
* @param int $user_id The user ID.
Expand Down
2 changes: 1 addition & 1 deletion includes/class-sensei.php
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ private function __construct( $main_plugin_file_name, $args ) {
*
* @hook sensei_clock_init
*
* @since $$next-version$$
* @since 4.20.1
*
* @param {Clock_Interface} $clock The clock.
* @return {Clock_Interface} Filtered clock.
Expand Down
2 changes: 1 addition & 1 deletion includes/clock/class-clock-interface.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* Interface Clock_Interface
*
* @since $$next-version$$
* @since 4.20.1
*/
interface Clock_Interface {
/**
Expand Down
2 changes: 1 addition & 1 deletion includes/clock/class-clock.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/**
* Class Clock
*
* @since $$next-version$$
* @since 4.20.1
*/
class Clock implements Clock_Interface {
/**
Expand Down
4 changes: 2 additions & 2 deletions includes/wpml/class-sensei-wpml.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function sensei_after_sending_email() {
/**
* Set language details for the lesson when it is created.
*
* @since $$next-version$$
* @since 4.20.1
*
* @internal
*
Expand Down Expand Up @@ -101,7 +101,7 @@ public function set_language_details_when_lesson_created( $lesson_id, $course_id
/**
* Set language details for the quiz when it is created.
*
* @since $$next-version$$
* @since 4.20.1
*
* @internal
*
Expand Down
Loading

0 comments on commit 6535ad7

Please sign in to comment.