Make WordPress Core

Opened 13 hours ago

Last modified 5 hours ago

#65031 accepted defect (bug)

User Edit Screen Displays Misaligned Password Dashicon in WordPress 7.0-RC2

Reported by: piyushpatel123's profile piyushpatel123 Owned by: audrasjb's profile audrasjb
Milestone: 7.0 Priority: normal
Severity: normal Version: trunk
Component: Administration Keywords: needs-testing 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 (2)

Screenshot_4.png (18.2 KB) - added by piyushpatel123 13 hours ago.
65031.patch (702 bytes) - added by rajdiptank111 12 hours ago.
Upload patch

Download all attachments as: .zip

Change History (10)

#1 @piyushpatel123
13 hours ago

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;
}

@rajdiptank111
12 hours ago

Upload patch

#2 @audrasjb
9 hours 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.


7 hours ago
#3

Trac ticket: https://core.trac.wordpress.org/ticket/65031

## Before:
https://github.com/user-attachments/assets/bf64d192-2c23-4f27-a2b4-b150de8f29f4

## After:
https://github.com/user-attachments/assets/a4e45e6f-e6d7-4545-a8be-68315130e8d9

#4 @ankitkumarshah
7 hours ago

Hi @rajdiptank111,

I tried applying your patch, but unfortunately ran into an error while doing so (screenshot attached):
https://i.postimg.cc/4dFk3k0N/Screenshot-2026-04-07-at-6-59-10-PM.png

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):

https://i.postimg.cc/8zH1V3Ny/Screenshot-2026-04-07-at-6-39-04-PM.png

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.


6 hours ago

andrewssanya commented on PR #11463:


5 hours ago
#6

Before:
https://github.com/user-attachments/assets/d989e4b9-b636-403d-bab5-5f40e4e809cc

After:
https://github.com/user-attachments/assets/30fc5d0b-eda3-4a3b-a097-f66deefc2ac0

andrewssanya commented on PR #11463:


5 hours ago
#7

Before:
https://github.com/user-attachments/assets/d989e4b9-b636-403d-bab5-5f40e4e809cc

After:
https://github.com/user-attachments/assets/30fc5d0b-eda3-4a3b-a097-f66deefc2ac0

@andrewssanya commented on PR #11463:


5 hours 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

  1. Clicked users
  2. Choose a partial user
  3. Edit user profile
  4. Set a new password

Screenshots/Screencast with results

Before:
https://github.com/user-attachments/assets/968d56f7-569c-4cdb-9e5f-cdbe5bf8a180

After:
https://github.com/user-attachments/assets/8097a2cc-e0fc-4633-a8b6-180045591c07

Note: See TracTickets for help on using tickets.