[wp-trac] [WordPress Trac] #62019: Add copy button when creating new application password

WordPress Trac noreply at wordpress.org
Tue Sep 17 23:39:15 UTC 2024


#62019: Add copy button when creating new application password
-------------------------------------------------+-------------------------
 Reporter:  desrosj                              |       Owner:  jeremyfelt
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.7
Component:  Application Passwords                |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-testing-info has-      |     Focuses:
  screenshots needs-testing                      |
-------------------------------------------------+-------------------------
Changes (by ironprogrammer):

 * keywords:  has-patch => has-patch has-testing-info has-screenshots needs-
     testing


Comment:

 Thanks for the suggestion, @desrosj, and for the patch, @circlecube!

 == Test Report
 Patch tested: https://github.com/WordPress/wordpress-develop/pull/7382

 === Steps to Test
 1. Ensure that `WP_ENVIRONMENT_TYPE` is set to `local` or that HTTPS is
 enabled for the test site to enable application passwords functionality.
 2. Login and navigate to your profile page, `/wp-admin/profile.php`.
 3. Scroll down to **Application Passwords** and enter a new application
 password name.
 4. Click "Add New Application Password".
 5. There should be a "Copy" button after the generated password field.
 6. Clicking the "Copy" button should copy the generated password to the
 clipboard.

 === Environment
 - Hardware: MacBook Pro Apple M1 Pro
 - OS: macOS 14.6.1
 - Browser: Safari 17.6
 - Server: nginx/1.27.1
 - PHP: 8.2.23
 - MySQL: 8.0.27
 - WordPress: 6.7-alpha-58576-src

 === Actual Results
 - ✅ Application password field included a "Copy" button, which copied the
 password to the clipboard when clicked.

 === Supplemental Artifacts
 ''Before patch:''
 [[Image(https://cldup.com/pv7rjZ527H.thumb.png)]]

 ''After patch and clicking "Copy":''
 [[Image(https://cldup.com/E7oFsNbWPl.thumb.png)]]

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


More information about the wp-trac mailing list