[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
Sat Aug 30 05:56:48 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 |
-------------------------------------------------+-------------------------
Changes (by nikunj8866):
* keywords: has-patch => has-patch has-test-info dev-feedback
Comment:
== Test Report
Patch tested: https://github.com/WordPress/wordpress-develop/pull/9674
=== 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.
3. Click Generate Password again. This time, the password input updates
correctly with a previously created password.
=== Expected Results
When testing a patch to validate it works as expected:
- ✅ The password input field updated with a generated password
immediately on the first click.
When reproducing a bug:
- ❌ The password input field only updates after the second click on the
Generate Password button.
=== Environment
- WordPress: 6.8.2
- PHP: 8.2.27
- Server: nginx/1.26.1
- Database: mysqli (Server: 8.0.35 / Client: mysqlnd 8.2.27)
- Browser: Chrome 139.0.0.0
- OS: Windows 10/11
- Theme: Storefront 4.6.1
- MU Plugins: None activated
- Plugins:
* 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:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list