Skip to content

Commit af62fb1

Browse files
authored
Merge pull request #7597 from Automattic/release/1.24.0
Release 4.24.0
2 parents 7e70936 + 67b6bba commit af62fb1

17 files changed

+1141
-1154
lines changed

changelog.txt

+14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
*** Changelog ***
22

3+
## 4.24.0 - 2024-04-25
4+
### Security
5+
- Prevent unauthenticated flushing of rewrite rules [#7596](https://github.com/Automattic/sensei/pull/7596)
6+
7+
### Added
8+
- User profile settings for unsubscribing from emails [#7586](https://github.com/Automattic/sensei/pull/7586)
9+
10+
### Changed
11+
- Let buttons get their styles from the theme [#7587](https://github.com/Automattic/sensei/pull/7587)
12+
13+
### Fixed
14+
- Add VideoPress block compabitility for the video settings on courses [#7592](https://github.com/Automattic/sensei/pull/7592)
15+
- Fix preview email button and links [#7590](https://github.com/Automattic/sensei/pull/7590)
16+
317
## 4.23.1 - 2024-04-15
418
### Added
519
- WPML: Setting to disable Sensei slugs translation for better compatibility [#7569](https://github.com/Automattic/sensei/pull/7569)

changelog/add-email-opt-in-out

-4
This file was deleted.

changelog/add-new-videopress-block-support

-4
This file was deleted.

changelog/fix-email-preview-link

-4
This file was deleted.

changelog/fix-style-comments

-4
This file was deleted.

changelog/fix-unauthenticated-flush-rewrite-rules

-4
This file was deleted.

includes/class-sensei-emails.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ function send( $to, $subject, $message, $headers = "Content-Type: text/html\r\n"
179179
* Filter Sensei's ability to send out emails.
180180
*
181181
* @since 1.8.0
182-
* @since $$next-version$$ The `$identifier` parameter was added.
182+
* @since 1.24.0 The `$identifier` parameter was added.
183183
*
184184
* @hook sensei_send_emails
185185
*

includes/class-sensei-settings.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -1013,10 +1013,10 @@ private function pages_array() {
10131013
*
10141014
* @since 1.9.0
10151015
*
1016-
* @deprecated $$next-version$$ Use flush_rewrite_rules_on_update instance method instead.
1016+
* @deprecated 1.24.0 Use flush_rewrite_rules_on_update instance method instead.
10171017
*/
10181018
public static function flush_rewrite_rules() {
1019-
_deprecated_function( __METHOD__, '$$next-version$$', 'Use flush_rewrite_rules_on_update instance method instead' );
1019+
_deprecated_function( __METHOD__, '1.24.0', 'Use flush_rewrite_rules_on_update instance method instead' );
10201020

10211021
$settings = new self();
10221022
$settings->flush_rewrite_rules_on_update();
@@ -1028,7 +1028,7 @@ public static function flush_rewrite_rules() {
10281028
*
10291029
* @internal
10301030
*
1031-
* @since $$next-version$$
1031+
* @since 1.24.0
10321032
*/
10331033
public function flush_rewrite_rules_on_update() {
10341034
$nonce_action = $this->token . '-options';

includes/internal/emails/class-email-subscription.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @internal
1818
*
19-
* @since $$next-version$$
19+
* @since 1.24.0
2020
*/
2121
class Email_Subscription {
2222

includes/internal/emails/class-email-user-profile-settings.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*
2121
* @internal
2222
*
23-
* @since $$next-version$$
23+
* @since 1.24.0
2424
*/
2525
class Email_User_Profile_Settings {
2626

includes/internal/emails/views/profile-email-settings-subscription.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* The template used to render a single email subscription setting in the user profile page.
44
*
55
* @package sensei
6-
* @since $$next-version$$
6+
* @since 1.24.0
77
*
88
* @var string $identifier The email identifier.
99
* @var string $description The email description.

includes/internal/emails/views/profile-email-settings.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* The template used to render the email settings in the user profile page.
44
*
55
* @package sensei
6-
* @since $$next-version$$
6+
* @since 1.24.0
77
*
88
* @var array user_emails The user emails.
99
*

0 commit comments

Comments
 (0)