[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
Mon Sep 1 11:01:21 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 siliconforks):

 Replying to [comment:7 taninakond]:
 > **Move network password generation:**
 > Move the block at lines [https://github.com/WordPress/wordpress-
 develop/blob/da59c19dcaae731f64c9f512d35157e356e25931/src/js/_enqueues/admin
 /user-profile.js#L264-L268 264–268] to line [https://github.com/WordPress
 /wordpress-
 develop/blob/da59c19dcaae731f64c9f512d35157e356e25931/src/js/_enqueues/admin
 /user-profile.js#L63 63], directly under the generatePassword call.

 Note that this results in additional unnecessary AJAX requests on some
 pages:

 * The Writing Settings admin page (Settings → Writing) now has an
 unnecessary AJAX request.
 * The installer's "Information needed" page also now has an unnecessary
 AJAX request.  (This one may result in a 404 "not found" error because
 WordPress is not installed yet and may not be ready to handle AJAX at this
 point.)

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


More information about the wp-trac mailing list