-
Notifications
You must be signed in to change notification settings - Fork 194
URL in address bar does not change after publishing story #697
Copy link
Copy link
Closed
Labels
Type: BugSomething isn't workingSomething isn't working
Description
Bug Description
refreshPostEditURL is used to update the URL in the address bar after publishing/updating a story.
However, it currently only runs after updating a story, not after initially publishing it.
Expected Behaviour
URL in address bar should be updated the first time around, when publishing the story.
Steps to Reproduce
- Create new story.
- Click
Publish - Notice that URL does not change, it stays
wp-admin/post-new.php?post_type=web-story - Click `Update
- Notice that URL changes to
wp-admin/post.php?post=123456&action=edit
In other words:
- Create new story.
- Click
Publish - Reload page
- Lose changes
Screenshots
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria
QA Instructions
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type: BugSomething isn't workingSomething isn't working