Skip to content

Commit

Permalink
Merge pull request #7253 from Automattic/release/4.19.0
Browse files Browse the repository at this point in the history
Release 4.19.0
  • Loading branch information
renatho committed Nov 1, 2023
2 parents cf9ee3f + 7928b17 commit 3c01456
Show file tree
Hide file tree
Showing 19 changed files with 2,629 additions and 2,092 deletions.
15 changes: 15 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
*** Changelog ***

## 4.19.0 - 2023-11-01
### Added
- Add a setting to not allow self-enrollment on courses [#7231](https://github.com/Automattic/sensei/pull/7231)

### Changed
- Update style of "Awaiting Grade" notice in Learning Mode [#7197](https://github.com/Automattic/sensei/pull/7197)
- Update style of "Your Grade" notice in Learning Mode [#7197](https://github.com/Automattic/sensei/pull/7197)

### Removed
- Eliminate usage of temporary Course theme hook [#7219](https://github.com/Automattic/sensei/pull/7219)

### Fixed
- Fix course notices that are intended to be displayed only on the course page but were currently appearing on the courses archive page [#7231](https://github.com/Automattic/sensei/pull/7231)
- Fix padding in site editor that prevents full-width alignment from working [#7233](https://github.com/Automattic/sensei/pull/7233)

## 4.18.0 - 2023-10-12
### Security
- Escape class attributes in Student Courses and Course Results block
Expand Down
4 changes: 0 additions & 4 deletions changelog/add-setting-not-allowing-self-enrollment

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-full-width-blocks-editor

This file was deleted.

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

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/remove-course-theme-hook

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/update-awaiting-grade-notice

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/update-graded-notice

This file was deleted.

8 changes: 4 additions & 4 deletions includes/class-sensei-analysis-overview-list-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function get_columns() {
*
* Backwards compatible filter name, moving forward should have single filter name.
*
* @deprecated $$next-version$$ Use sensei_analysis_overview_columns instead.
* @deprecated 4.19.0 Use sensei_analysis_overview_columns instead.
*
* @hook sensei_analysis_overview_{type}_columns
*
Expand All @@ -147,7 +147,7 @@ function get_columns() {
$columns = apply_filters_deprecated(
'sensei_analysis_overview_' . $this->type . '_columns',
array( $columns, $this ),
'$$next-version$$',
'4.19.0',
'sensei_analysis_overview_columns'
);

Expand Down Expand Up @@ -240,7 +240,7 @@ function get_sortable_columns() {
*
* Backwards compatible filter name, moving forward should have single filter name.
*
* @deprecated $$next-version$$ Use sensei_analysis_overview_columns_sortable instead.
* @deprecated 4.19.0 Use sensei_analysis_overview_columns_sortable instead.
*
* @hook sensei_analysis_overview_{type}_columns_sortable
*
Expand All @@ -251,7 +251,7 @@ function get_sortable_columns() {
$columns = apply_filters_deprecated(
'sensei_analysis_overview_' . $this->type . '_columns_sortable',
array( $columns, $this ),
'$$next-version$$',
'4.19.0',
'sensei_analysis_overview_columns_sortable'
);

Expand Down
8 changes: 4 additions & 4 deletions includes/class-sensei-course.php
Original file line number Diff line number Diff line change
Expand Up @@ -3736,7 +3736,7 @@ public static function the_course_enrolment_actions() {
/**
* Check if a user can manually enrol themselves.
*
* @since $$next-version$$ Add a check whether self-enrollment is not allowed.
* @since 4.19.0 Add a check whether self-enrollment is not allowed.
*
* @param int $course_id Course post ID.
*
Expand Down Expand Up @@ -3776,7 +3776,7 @@ public static function can_current_user_manually_enrol( $course_id ) {
/**
* Check if self-enrollment is not allowed for the given course.
*
* @since $$next-version$$
* @since 4.19.0
*
* @param int $course_id Course post ID.
*
Expand All @@ -3788,7 +3788,7 @@ public static function is_self_enrollment_not_allowed( $course_id ) {
/**
* Check if self-enrollment is not allowed.
*
* @since $$next-version$$
* @since 4.19.0
*
* @hook sensei_self_enrollment_not_allowed
*
Expand Down Expand Up @@ -4149,7 +4149,7 @@ public static function prerequisite_complete_message() {
/**
* Show a message telling the user that they are not allowed to self enroll if the setting is enabled.
*
* @since $$next-version$$
* @since 4.19.0
*
* @internal
*/
Expand Down
4 changes: 2 additions & 2 deletions includes/class-sensei-grading-main.php
Original file line number Diff line number Diff line change
Expand Up @@ -544,12 +544,12 @@ public function get_views() {
*
* @hook sensei_grading_count_statues
*
* @deprecated $$next-version$$ Contains typo. Use sensei_grading_count_statuses.
* @deprecated 4.19.0 Contains typo. Use sensei_grading_count_statuses.
*
* @param {array} $count_args Count statuses arguments.
* @return {array} Filtered count arguments.
*/
$count_args = apply_filters_deprecated( 'sensei_grading_count_statues', array( $count_args ), '$$next-version$$', 'sensei_grading_count_statuses' );
$count_args = apply_filters_deprecated( 'sensei_grading_count_statues', array( $count_args ), '4.19.0', 'sensei_grading_count_statuses' );

/**
* Filter count statuses arguments in Grading.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*
* @internal
*
* @since $$next-version$$
* @since 4.19.0
*/
class Table_Reading_Aggregate_Answer_Repository implements Answer_Repository_Interface {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*
* @internal
*
* @since $$next-version$$
* @since 4.19.0
*/
class Table_Reading_Aggregate_Grade_Repository implements Grade_Repository_Interface {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*
* @internal
*
* @since $$next-version$$
* @since 4.19.0
*/
class Table_Reading_Aggregate_Submission_Repository implements Submission_Repository_Interface {
/**
Expand Down
4 changes: 2 additions & 2 deletions includes/internal/tools/class-progress-tables-eraser.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*
* @internal
*
* @since $$next-version$$
* @since 4.19.0
*/
class Progress_Tables_Eraser implements Sensei_Tool_Interface, Sensei_Tool_Interactive_Interface {
/**
Expand Down Expand Up @@ -119,7 +119,7 @@ public function process() {
/**
* Fires after progress tables are deleted.
*
* @since $$next-version$$
* @since 4.19.0
*
* @param array $tables List of deleted tables.
*/
Expand Down
Loading

0 comments on commit 3c01456

Please sign in to comment.