Opened 5 weeks ago
Closed 3 weeks ago
#65063 closed defect (bug) (fixed)
Classic Editor: slug editing field is too large
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 7.0 | Priority: | normal |
| Severity: | normal | Version: | trunk |
| Component: | Administration | Keywords: | admin-reskin has-patch fixed-major dev-reviewed |
| Focuses: | Cc: |
Description
Following a redesign of the form elements, the height of the slug editing field has changed from 30px to 40px.
Since this is very large, I propose changing it to 32px. Additionally, the slug input field, OK button, and Cancel button should be properly aligned.
Attachments (3)
Change History (25)
This ticket was mentioned in PR #11551 on WordPress/wordpress-develop by @wildworks.
5 weeks ago
#1
- Keywords has-patch added
@wildworks commented on PR #11551:
5 weeks ago
#2
@sabernhardt commented on PR #11551:
5 weeks ago
#4
Consider changing the OK button from button-small to button-compact. It would have the same height as the input on smaller screens when combined with the buttons.css change in #11549.
Then the Cancel button might have a larger font size than 11px, too (by removing that rule).
@audrasjb commented on PR #11551:
5 weeks ago
#5
Honestly I would decrease the height of that specific input rather than increasing the height of the button. I know it would be an exception for that specific area but with the provided screenshots, we can see that there is a hierarchy issue: the permalink/slug area should not be displayed with the same visual hierarchy we have for the post title. The text in this section is smaller for this reason.
@wildworks commented on PR #11551:
5 weeks ago
#6
Thanks for the feedback!
Consider changing the OK button from
button-smalltobutton-compact. It would have the same height as the input on smaller screens when combined with thebuttons.csschange in #11549.
The height of the OK button and the slug input field is 32px.
Honestly I would decrease the height of that specific input rather than increasing the height of the button.
The height of the OK button and the slug input field is 24px.
The 24px high input field feels too cramped. I'll try the former approach.
Dhruvang2001 commented on PR #11551:
5 weeks ago
#7
@wildworks commented on PR #11551:
5 weeks ago
#8
Dhruvang2001 commented on PR #11551:
5 weeks ago
#9
@dhruvang21 commented on PR #11551:
5 weeks ago
#10
This ticket was mentioned in Slack in #accessibility by joedolson. View the logs.
5 weeks ago
This ticket was mentioned in Slack in #core-test by gaisma22. View the logs.
5 weeks ago
@shailu25 commented on PR #11551:
4 weeks ago
#13
#14
@
4 weeks ago
Tested and confirmed that the slug input field height is currently too large compared to surrounding elements.
Refer below images for confirm.
Before Patch:
https://postimg.cc/PCcGHqfK
After Patch:
https://postimg.cc/wyM0jXWs
This ticket was mentioned in Slack in #core-test by ozgur_sar. View the logs.
4 weeks ago
#16
@
4 weeks ago
Tested the patch and confirmed the issue is resolved.
Test Report
Tested patch : https://patch-diff.githubusercontent.com/raw/WordPress/wordpress-develop/pull/11551.diff
Tested PR : https://github.com/WordPress/wordpress-develop/pull/11551
Description
This report validates whether the indicated patch works as expected.
Patch tested: (add patch link here)
Environment
- WordPress: 7.1-alpha-62161-src
- PHP: 8.3.30
- Server: nginx/1.29.7
- Database: mysqli (Server: 8.4.8 / Client: mysqlnd 8.3.30)
- Browser: Chrome 147.0.0.0
- OS: Windows 10/11
- Theme: Twenty Twenty-Five 1.4
- MU Plugins: None
- Plugins:
- Disable Gutenberg 3.3.1
- Test Reports 1.2.1
Steps to Reproduce
- Open Add New Post screen
- Edit the permalink (slug)
- Observe input field height and alignment
Before Patch
- Slug input field height is larger than surrounding elements
- Buttons (OK/Cancel) are not properly aligned ❌
After Patch
- Input field height is consistent (32px)
- Buttons are properly aligned
- UI appears clean and consistent ✅
Actual Results
- Issue resolved successfully with the patch
- No regressions observed
Additional Notes
- Tested at standard zoom (100%)
- UI remains consistent during interaction
Conclusion:
Patch works as expected 👍
This ticket was mentioned in Slack in #core by audrasjb. View the logs.
3 weeks ago
#18
@
3 weeks ago
- Keywords commit added
- Version set to trunk
@wildworks thanks for updating the PR. @joedolson I think we're good to go now!
#20
@
3 weeks ago
- Keywords dev-feedback fixed-major added
- Resolution fixed deleted
- Status changed from closed to reopened
Reopening for merge to the 7.0 branch pending another committers sign off.


Trac ticket: https://core.trac.wordpress.org/ticket/65063
## Use of AI Tools
None
## Screenshots