-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Site Editor: Fix the 'Slug' display for draft pages #55774
Conversation
Size Change: +11 B (0%) Total Size: 1.7 MB
ℹ️ View Unchanged
|
Flaky tests detected in 6b695c9. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/6722952291
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks!
What?
PR fixes a bug where the
slug
wasn't displayed for draft pages in the details area.How?
Use
record.generated_slug
as a fallback. This matches the behavior of theeditor
package permalink selectors. Ref: https://core.trac.wordpress.org/ticket/45017.Testing Instructions
slug
is correctly displayed in the "Details" sidebar.Testing Instructions for Keyboard
Same.
Screenshots or screencast