[wp-trac] [WordPress Trac] #62147: Revealed passwords should change back to password type when submitting the form

WordPress Trac noreply at wordpress.org
Tue Mar 11 15:08:37 UTC 2025


#62147: Revealed passwords should change back to password type when submitting the
form
-------------------------------------+-------------------------------------
 Reporter:  jamieburchell            |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Future Release
Component:  Login and Registration   |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  good-first-bug has-      |     Focuses:  javascript,
  patch has-screenshots              |  administration
-------------------------------------+-------------------------------------
Changes (by vgnavada):

 * keywords:  good-first-bug has-patch => good-first-bug has-patch has-
     screenshots


Comment:

 == Test Report
 === Description
 I've tested the patch on WordPress Playground, and it's functioning as
 expected. ✅

 When I enter the password in the field, the input type initially will be
 '**text**'
 [[Image(https://i.ibb.co/gL6wByX2/image.png)]]

 And once I toggle the eye icon or click the login button, the input type
 automatically changes to '**password**'.
 [[Image(https://i.ibb.co/WW8rWG3j/image.png)]]

 Patch tested: https://github.com/WordPress/wordpress-develop/pull/8223

 === Environment
 - WordPress: 6.8-alpha-20250130.101504
 - PHP: 7.4.31-dev
 - Server: PHP.wasm
 - Database: WP_SQLite_Translator (Server: 5.5 / Client: 3.40.1)
 - Browser: Chrome 134.0.0.0
 - OS: macOS
 - Theme: Twenty Twenty-Five 1.0
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.0

 === Actual Results
 1.  ✅ Issue resolved with patch.

 === Supplemental Artifacts
 Added Inline

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


More information about the wp-trac mailing list