Opened 2 years ago
Last modified 23 months ago
#57438 new defect (bug)
Slug is not generated when saving posts as draft
Reported by: | rilwis | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Posts, Post Types | Keywords: | has-testing-info 2nd-opinion |
Focuses: | administration | Cc: |
Description
When saving posts as draft, the slug is empty. Only when publishing posts, the slug is generated.
Slug should be auto-generated even when saving posts as draft.
Steps to reproduce:
- Add a new post (in the classic editor or Gutenberg)
- Enter the post title
- Save the post as draft
- Reload the page (if in Gutenberg) and see the slug is empty
Change History (2)
Note: See
TracTickets for help on using
tickets.
Reproduction Report
The slug isn't usually saved until a user has intentionally tried to set/modify it, or the post published, as noted. Flagging for core committer input with
2nd-opinion
.Environment
trunk
)Actual Results
Workaround
Additional Notes
slug-already-used
->slug-already-used-1
). This is visible after expanding Quick Edit again.