[wp-trac] [WordPress Trac] #9883: Password shows under Settings / Writing

WordPress Trac noreply at wordpress.org
Fri Oct 14 16:55:36 UTC 2022


#9883: Password shows under Settings / Writing
-------------------------------------------------+-------------------------
 Reporter:  mastrup                              |       Owner:  (none)
     Type:  enhancement                          |      Status:  assigned
 Priority:  low                                  |   Milestone:  Future
                                                 |  Release
Component:  Administration                       |     Version:  2.7.1
 Severity:  trivial                              |  Resolution:
 Keywords:  has-patch needs-testing has-         |     Focuses:  ui,
  testing-info dev-feedback                      |  accessibility
-------------------------------------------------+-------------------------
Changes (by costdev):

 * keywords:  has-patch needs-testing has-testing-info => has-patch needs-
     testing has-testing-info dev-feedback


Comment:

 Regarding the "Save password?"  dialog in browsers, this was intended to
 be fixed by this line that already existed in the form:

 {{{
 <input class="hidden" type="password" value=" " /><!-- #24364 workaround
 -->
 }}}

 However, it seems that when a `password` input exists, some browsers
 ignore this hack, as well as ignoring `autocomplete` set to `off`, `new-
 password`, `one-time-code`, etc.

 There would be an option of using `input[type="text"]` and a `text-
 security: disc;` CSS rule, with vendor prefixed versions too, but
 unfortunately, Firefox deprecated the `-moz-text-security` property and
 doesn't recognise unprefixed, or other vendor prefixes versions of the
 property.

 I'm not sure how to proceed on the "Save Password?" issue.

 -----

 - I'll push a change to the PR which refreshes against `trunk` and also
 forces LTR on the password field, per
 [https://core.trac.wordpress.org/ticket/9883#comment:32 this comment] and
 the linked ticket #54915.
 - Regarding password managers, I tested with LastPass. While the icon
 showed on the login form, it didn't show for the mailserver password in
 `Options > Writing`. @sabernhardt, what password manager showed this issue
 for you?
 - I'll look into the focus issue too.

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


More information about the wp-trac mailing list