Opened 2 weeks ago
Last modified 6 hours ago
#65031 accepted defect (bug)
User Edit Screen Displays Misaligned Password Dashicon in WordPress 7.0-RC2
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 7.0 | Priority: | normal |
| Severity: | normal | Version: | trunk |
| Component: | Administration | Keywords: | has-patch admin-reskin |
| Focuses: | ui, css, administration | Cc: |
Description
An alignment issue has been identified with the password dashicon on the user edit screen in WordPress 7.0-RC2.
Attachments (4)
Change History (25)
#2
@
2 weeks ago
- Keywords needs-testing has-patch admin-reskin added
- Milestone changed from Awaiting Review to 7.0
- Owner set to audrasjb
- Status changed from new to accepted
This ticket was mentioned in PR #11463 on WordPress/wordpress-develop by @ankitkumarshah.
2 weeks ago
#3
#4
@
2 weeks ago
Hi @rajdiptank111,
I tried applying your patch, but unfortunately ran into an error while doing so (screenshot attached):

I also attempted to apply the changes manually, but noticed a regression—specifically, the patch seems to introduce a layout issue on /wp-admin/options-writing.php (screenshot attached for reference):
To address this, I’ve created a PR with a fix:
https://github.com/WordPress/wordpress-develop/pull/11463
Could you please test it when you get a chance and let me know if this works for you?
Thank you!
cc: @audrasjb
This ticket was mentioned in Slack in #core-test by r1k0. View the logs.
2 weeks ago
andrewssanya commented on PR #11463:
2 weeks ago
#6
andrewssanya commented on PR #11463:
2 weeks ago
#7
@andrewssanya commented on PR #11463:
2 weeks ago
#8
Patch Tested: https://core.trac.wordpress.org/ticket/65031
Environment
- WordPress: 7.0-RC2
- PHP: 8.0.30
- Server: PHP.wasm
- Database: WP_SQLite_Driver (Server: 8.0.38 /
- Browser: Chrome 146.0.0.0
- OS: macOS
- Theme: Twenty Twenty-Five 1.4
- MU Plugins: None activated
- Test Reports 1.2.1
Steps taken
- Clicked users
- Choose a partial user
- Edit user profile
- Set a new password
Screenshots/Screencast with results
This ticket was mentioned in Slack in #core-test by gautammkgarg. View the logs.
13 days ago
#11
@
13 days ago
Tested patch: https://github.com/WordPress/wordpress-develop/pull/11463
Environment
WordPress: 7.1-alpha-20260407.134046
PHP: 7.4.33
Server: Playground
Database: WP_SQLite_Driver 8.0.38
Browser: Firefox 148
OS: Android
Theme: Twenty Twenty-Five 1.4
I think alignment is better after patch is applied but I think it is still not exactly center aligned.
#12
@
13 days ago
https://core.trac.wordpress.org/ticket/65031
Tested the latest patch and it appears to be working as expected in Chrome and Firefox browsers.
Steps:
- Applied the patch
- Navigated to the user edit screen
- Checked password field alignment
Result:
The dashicon alignment looks correct and consistent. I did not notice any visual issues in my testing.
Environment:
- WordPress: 7.0-RC2, 7.1-alpha-62161-src
- PHP: 8.3.30
- Browser: Chrome, Firefox
- Database: MySQL 8.4.8
- OS: Ubuntu
The patch appears to work as expected. Screenshots for reference:
Chrome:
Firefox:
#13
@
12 days ago
- Keywords needs-testing removed
Patch Testing Report
Patch Tested: https://github.com/WordPress/wordpress-develop/pull/11463
Environment
- WordPress: 7.0-beta6-62085-src
- PHP: 8.3.30
- Server: nginx/1.29.7
- Database: MySQL 8.4.8
- Browser: Brave
- OS: Ubuntu 24.04
- Theme: Twenty Twenty-Five 1.4
- MU Plugins: None
- Plugins: None
Steps Taken
- Went to Users > Edit User and clicked Set New Password. Before patch: Eye icon sits lower than the Hide text.
- Applied PR #11463 and hard refreshed. After patch: Eye icon aligned with Hide text.
✅ Patch is solving the problem
Expected Result
The password toggle button eye icon should sit at the same vertical level as the Hide text on the user edit screen.
Additional Notes
- Bug confirmed on WordPress 7.0-beta6. The dashicon eye icon
on the password toggle button on
user-edit.phpsits lower than the Hide text before the patch. - After the patch the alignment is correct.
- Removing
needs-testingas patch resolves the issue on WordPress 7.0-beta6-62085-src.
Screenshots/Screencast with results
#14
@
12 days ago
- Keywords needs-testing added
User Edit Screen Displays Misaligned Password Dashicon in WordPress 7.0-RC2
Description
An alignment issue has been identified with the password dashicon on the user edit screen in WordPress 7.0-RC2.
Patch tested: REPLACE_WITH_PATCH_URL
Environment
- WordPress: 7.0-RC2
- PHP: 8.2.28
- Server: nginx/1.21.4
- Database: mysqli (Server: 5.7.44-log / Client: mysqlnd 8.2.28)
- Browser: Chrome 146.0.0.0
- OS: macOS
- Theme: Twenty Twenty-Five 1.4
- MU Plugins: None activated
- Plugins:
- Gutenberg 22.9.0
- Test Reports 1.2.1
- WordPress Beta Tester 4.0.0
- wpDataTables 7.3.4
- WP File Manager 8.0.3
Actual Results
- ✅ Issue resolved with patch https://github.com/WordPress/wordpress-develop/pull/11463/changes
Supplemental Artifacts
#15
@
12 days ago
Tested the patch in the mentioned environment. Alignment has improved and spacing looks better, but it’s still slightly off-center. A small adjustment is needed to achieve perfect centering.
#18
@
6 days ago
Patch Testing Report
Patch Tested: https://github.com/WordPress/wordpress-develop/pull/11463
Environment
- WordPress: 7.0-RC2
- PHP: 8.3.30
- Server: nginx/1.29.7
- Database: MySQL 8.4.8
- Browser: Chrome
- OS: Windows
- Theme: Twenty Twenty-Five
- Plugins: None (including MU plugins)
Steps to Reproduce
# Navigate to Users → Edit User
# Click on "Set New Password"
# Observe the alignment of the eye (visibility toggle) icon with the "Hide" text
Before Applying the Patch
- The dashicon eye icon appears slightly lower than the "Hide" text, causing misalignment.
After Applying the Patch
- The eye icon is properly aligned with the "Hide" text.
Expected Behavior
- The password visibility toggle (eye icon) should be vertically aligned with the "Hide" text.
Result
- ✅ Patch successfully resolves the issue.
Additional Notes
- Issue reproducible on WordPress 7.0-RC2 prior to the patch.
- No regressions observed after applying the patch.
- Tested on a clean install with the default theme.
#19
@
5 days ago
Tested the issue on the latest trunk version (7.1) - WordPress: 7.1-alpha-62161-src.
Environment:
- WordPress: trunk (7.1)
- 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 activated
- Plugins:
- Test Reports 1.2.1
Steps:
- Navigated to Users → Edit User
- Clicked "Set New Password"
- Checked alignment of the eye icon and "Hide" text
Result:
The alignment issue is not reproducible in the current version. The dashicon appears properly aligned with the text.
Conclusion:
It seems the issue may already be resolved in the latest version.
#20
@
4 days ago
Test Report
This report validates that the indicated patch addresses the issue.
Patch tested: https://github.com/WordPress/wordpress-develop/pull/11463
Environment
- OS: Windows 11
- Web Server: Apache/2.4.54
- PHP: 8.2.25
- WordPress: 7.0-RC2
- Browser: Chrome 146.0.7680.178
- Theme: Twenty Twenty-Five 1.4
- Active Plugins: None
Steps to Test
- Navigated to Users → Edit User
- Clicked "Set New Password"
- Checked alignment of the eye icon and "Hide" text
Expected Results
✅ Patch successfully resolves the issue.








I was able to identify the issue and found a solution. Removing or adjusting the following two CSS lines resolves the problem.
.wp-core-ui .button.wp-hide-pw > .dashicons{ line-height: 1; vertical-align: middle; }