[wp-trac] [WordPress Trac] #3534: Hide password in setup-config.php

WordPress Trac noreply at wordpress.org
Mon Dec 20 03:19:34 UTC 2021


#3534: Hide password in setup-config.php
-------------------------------------------------+-------------------------
 Reporter:  xmarcos                              |       Owner:  rob1n
     Type:  enhancement                          |      Status:  reopened
 Priority:  low                                  |   Milestone:  Awaiting
                                                 |  Review
Component:  Upgrade/Install                      |     Version:  2.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing has-         |     Focuses:
  testing-info                                   |  accessibility
-------------------------------------------------+-------------------------
Changes (by costdev):

 * keywords:  has-patch needs-unit-tests needs-testing => has-patch needs-
     testing has-testing-info
 * focuses:   => accessibility


Comment:

 - Marking as `has-testing-info` and removing `needs-unit-tests` as manual
 testing should suffice.
 - Adding `accessibility` focus to verify that there are no regressions.

 == Testing instructions

 - Checkout [https://github.com/WordPress/wordpress-develop/pull/2071 PR
 2071].
 - Build with `npm run build` or `npm run build:dev`, depending on your
 preferred test environment.
 - Rename your `wp-config.php` file to `wp-config.php1`.
 - Navigate to `/wp-admin/`.
 - Click "Continue".
 - Click "Let's go!".
 - The "Password" field should show the "password" placeholder.
 - Type a password into the "Password" field.
 - The password should be masked.
 - Click the "Show" button.
 - The password should be revealed and the "Show" button should now read
 "Hide".
 - Click the "Hide" button.
 - The password should now be masked again.

 === Cleanup
 - Delete the newly generated `wp-config.php` file.
 - Rename your `wp-config.php1` file back to `wp-config.php`.

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


More information about the wp-trac mailing list