Skip to content

Commit

Permalink
Merge pull request #7597 from Automattic/release/1.24.0
Browse files Browse the repository at this point in the history
Release 4.24.0
  • Loading branch information
donnapep committed Apr 25, 2024
2 parents 7e70936 + 67b6bba commit af62fb1
Show file tree
Hide file tree
Showing 17 changed files with 1,141 additions and 1,154 deletions.
14 changes: 14 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
*** Changelog ***

## 4.24.0 - 2024-04-25
### Security
- Prevent unauthenticated flushing of rewrite rules [#7596](https://github.com/Automattic/sensei/pull/7596)

### Added
- User profile settings for unsubscribing from emails [#7586](https://github.com/Automattic/sensei/pull/7586)

### Changed
- Let buttons get their styles from the theme [#7587](https://github.com/Automattic/sensei/pull/7587)

### Fixed
- Add VideoPress block compabitility for the video settings on courses [#7592](https://github.com/Automattic/sensei/pull/7592)
- Fix preview email button and links [#7590](https://github.com/Automattic/sensei/pull/7590)

## 4.23.1 - 2024-04-15
### Added
- WPML: Setting to disable Sensei slugs translation for better compatibility [#7569](https://github.com/Automattic/sensei/pull/7569)
Expand Down
4 changes: 0 additions & 4 deletions changelog/add-email-opt-in-out

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/add-new-videopress-block-support

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-email-preview-link

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-style-comments

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/fix-unauthenticated-flush-rewrite-rules

This file was deleted.

2 changes: 1 addition & 1 deletion includes/class-sensei-emails.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ function send( $to, $subject, $message, $headers = "Content-Type: text/html\r\n"
* Filter Sensei's ability to send out emails.
*
* @since 1.8.0
* @since $$next-version$$ The `$identifier` parameter was added.
* @since 1.24.0 The `$identifier` parameter was added.
*
* @hook sensei_send_emails
*
Expand Down
6 changes: 3 additions & 3 deletions includes/class-sensei-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -1013,10 +1013,10 @@ private function pages_array() {
*
* @since 1.9.0
*
* @deprecated $$next-version$$ Use flush_rewrite_rules_on_update instance method instead.
* @deprecated 1.24.0 Use flush_rewrite_rules_on_update instance method instead.
*/
public static function flush_rewrite_rules() {
_deprecated_function( __METHOD__, '$$next-version$$', 'Use flush_rewrite_rules_on_update instance method instead' );
_deprecated_function( __METHOD__, '1.24.0', 'Use flush_rewrite_rules_on_update instance method instead' );

$settings = new self();
$settings->flush_rewrite_rules_on_update();
Expand All @@ -1028,7 +1028,7 @@ public static function flush_rewrite_rules() {
*
* @internal
*
* @since $$next-version$$
* @since 1.24.0
*/
public function flush_rewrite_rules_on_update() {
$nonce_action = $this->token . '-options';
Expand Down
2 changes: 1 addition & 1 deletion includes/internal/emails/class-email-subscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* @internal
*
* @since $$next-version$$
* @since 1.24.0
*/
class Email_Subscription {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*
* @internal
*
* @since $$next-version$$
* @since 1.24.0
*/
class Email_User_Profile_Settings {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* The template used to render a single email subscription setting in the user profile page.
*
* @package sensei
* @since $$next-version$$
* @since 1.24.0
*
* @var string $identifier The email identifier.
* @var string $description The email description.
Expand Down
2 changes: 1 addition & 1 deletion includes/internal/emails/views/profile-email-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* The template used to render the email settings in the user profile page.
*
* @package sensei
* @since $$next-version$$
* @since 1.24.0
*
* @var array user_emails The user emails.
*
Expand Down
Loading

0 comments on commit af62fb1

Please sign in to comment.