You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RELEASE-NOTES.txt
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
25.2
2
2
-----
3
-
3
+
* [*] Simplify post list context menu sections [#23356]
4
+
* [*] Fix an issue with incorrect snackbar shown when saving drafts manually [#23358]
4
5
5
6
25.1
6
7
-----
@@ -9,7 +10,12 @@
9
10
* [*] Fix an issue with a missing navigation bar background in Post Settings [#23334]
10
11
* [*] Fix an issue where the app will sometimes save empty drafts [#23342]
11
12
* [*] Add `.networkConnectionLost` to the list of "offline" scenarios so that the "offline changes" badge and fast retries work for this use case [#23348]
12
-
13
+
* [*] If draft sync fails, the app will now show the "Retry" button in the context menu along with the error message [#23355]
14
+
* [*] Fix an issue with post content structure not loading in some scenarios [#23347]
15
+
* [*] Fix a rare crash when updating posts with categories [#23354]
16
+
* [*] Fix an issue where a Page editor will not close automatically after trying to update a permanently deleted post [#23363]
17
+
* [*] Fix an issue where you could remove the scheduled date on a scheduled post [#23360]
18
+
* [*] The Post List screen now fetches updates faster and shows a spinner when refreshing stale data [#23362]
returnNSLocalizedString("postNotice.draftSaved", value:"Draft Saved", comment:"Title of notification displayed when either a new or an existing draft is saved")
53
+
}
51
54
switch post {
52
55
caseletpost as Post:
53
56
guard !isUpdated else{
54
57
returnNSLocalizedString("postNotice.postUpdated", value:"Post updated", comment:"Title of notification displayed when a post has been successfully updated.")
55
58
}
56
59
switch post.status {
57
-
case.draft:
58
-
returnNSLocalizedString("postNotice.postDraftCreated", value:"Post draft uploaded", comment:"Title of notification displayed when a post has been successfully saved as a draft.")
59
60
case.scheduled:
60
61
returnNSLocalizedString("postNotice.postScheduled", value:"Post scheduled", comment:"Title of notification displayed when a post has been successfully scheduled.")
61
62
case.pending:
@@ -68,8 +69,6 @@ private enum Strings {
68
69
returnNSLocalizedString("postNotice.pageUpdated", value:"Page updated", comment:"Title of notification displayed when a page has been successfully updated.")
69
70
}
70
71
switch page.status {
71
-
case.draft:
72
-
returnNSLocalizedString("postNotice.pageDraftCreated", value:"Page draft uploaded", comment:"Title of notification displayed when a page has been successfully saved as a draft.")
73
72
case.scheduled:
74
73
returnNSLocalizedString("postNotice.pageScheduled", value:"Page scheduled", comment:"Title of notification displayed when a page has been successfully scheduled.")
75
74
case.pending:
@@ -78,7 +77,7 @@ private enum Strings {
78
77
returnNSLocalizedString("postNotice.pagePublished", value:"Page published", comment:"Title of notification displayed when a page has been successfully published.")
79
78
}
80
79
default:
81
-
assertionFailure("Unexpected post type: \(post)")
80
+
wpAssertionFailure("unexpected post type", userInfo:["post_type":String(describing:type(of:post))])
0 commit comments