[wp-trac] [WordPress Trac] #63897: Generate Password button requires two clicks to update the password field on Add New User screen

WordPress Trac noreply at wordpress.org
Thu Sep 11 12:25:19 UTC 2025


#63897: Generate Password button requires two clicks to update the password field
on Add New User screen
-------------------------------------------------+-------------------------
 Reporter:  parthvataliya                        |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Users                                |     Version:  5.6
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-test-info dev-         |     Focuses:  javascript
  feedback                                       |
-------------------------------------------------+-------------------------

Comment (by pmbaldha):

 == Test Report

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

 === Steps to Reproduce or Test
 1. Go to Users -> Add New.
 2. Scroll to the Password field and click Generate Password.
 3. 🐞 Notice that the password input value remains unchanged.
 4. Click Generate Password again. This time, the password input updates
 correctly with a previously created password.

 1. Install and Activate the "Email Log" plugin.
 2. Log out from Admin Dashboard.
 3. Open http://localhost:8889/wp-login.php and click on the "Lost your
 password?" link.
 4. Fill either username or email, and then click on the "Get New Password"
 button.
 5. Login to the Admin Dashboard >


 === Expected Results
 When testing a patch to validate it works as expected:
 - ✅ What should happen when running the test

 When reproducing a bug:
 - ❌ Error condition occurs.

 === Environment
 - WordPress: 6.9-alpha-60093-src
 - PHP: 8.2.29
 - Server: nginx/1.29.1
 - Database: mysqli (Server: 8.4.6 / Client: mysqlnd 8.2.29)
 - Browser: Chrome 140.0.0.0
 - OS: Windows 10/11
 - Theme: Twenty Seventeen 3.9
 - MU Plugins:
   * test.php
 - Plugins:
   * Email Log 2.61
   * Test Reports 1.2.0

 ==== Actual Results
 When reproducing a bug/defect:
 - ❌ Error condition occurs.

 When testing the bugfix patch:
 - ✅ Issue resolved with patch.

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


More information about the wp-trac mailing list