-
Notifications
You must be signed in to change notification settings - Fork 803
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Launchpad: "first_post_published" task links to first post if you hav…
…e one (#39259) * Check if draft post exist and return * changelog * first_post_published copy depends on existence of existing draft The logic for looking up existing draft posts is shifted to wpcom_launchpad_get_latest_draft_id(). This allows the get_title() function to also use it to determine which button label to present to the user. --------- Co-authored-by: Philip Jackson <philip@Philips-MacBook-Pro.local>
- Loading branch information
1 parent
554ce4d
commit 1ea6041
Showing
2 changed files
with
56 additions
and
2 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
projects/packages/jetpack-mu-wpcom/changelog/feat-launchpad_draft_post
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: patch | ||
Type: fixed | ||
|
||
Launchpad first_post_published task reuses existing draft if there is one |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters