[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
Fri Aug 29 13:49:36 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:
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 When creating a new user in WordPress (Users → Add New), the "Generate
 Password" button does not update the password field value on the first
 click.

 === Steps to reproduce:

 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.

 === Expected behavior:
 The password input field should be updated with a generated password
 immediately on the first click.

 === Actual behavior:
 The password input field only updates after the second click on the
 Generate Password button.

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


More information about the wp-trac mailing list