[wp-trac] [WordPress Trac] #52256: Default hide password field.

WordPress Trac noreply at wordpress.org
Sat Jan 31 15:35:13 UTC 2026


#52256: Default hide password field.
---------------------------------+-----------------------------------------
 Reporter:  dilipbheda           |       Owner:  (none)
     Type:  defect (bug)         |      Status:  reopened
 Priority:  normal               |   Milestone:  Awaiting Review
Component:  Users                |     Version:  5.6
 Severity:  normal               |  Resolution:
 Keywords:  has-patch dev-       |     Focuses:  javascript, administration
  feedback                       |
---------------------------------+-----------------------------------------
Changes (by ozgursar):

 * keywords:  has-patch dev-feedback needs-testing => has-patch dev-feedback


Comment:

 == Patch Testing Report

 Patch Tested:
 https://core.trac.wordpress.org/attachment/ticket/52256/52256.patch

 === Environment
 - WordPress: 7.0-alpha-61215-src
 - PHP: 8.2.29
 - Server: nginx/1.29.4
 - Database: mysqli (Server: 8.4.7 / Client: mysqlnd 8.2.29)
 - Browser: Chrome 144.0.0.0
 - OS: macOS
 - Theme: Twenty Twenty-One 2.7
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.1

 === Steps taken
 1. Navigate to Users > Add User
 2. Click Generate Password button once
 3. Observe the password does not change
 4. Observe that subsequent clicks cause new passwords to be generated
 5. Apply patch
 6. Navigate to Users > Add User
 7. Password field is now not visible by default
 8. Each click to Generate Password button now generates a new password
 9. ✅ Patch is solving the problem.

 === Expected result
 - We are expecting Generate Password button to work from the initial
 click.

 === Screenshots/Screencast with results
 Video before patch: https://files.catbox.moe/8imt1z.mp4

 Video after patch: https://files.catbox.moe/0xiz93.mp4

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52256#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list