[wp-trac] [WordPress Trac] #57157: Reduce external resources for wp-login.php
WordPress Trac
noreply at wordpress.org
Tue Sep 19 19:19:03 UTC 2023
#57157: Reduce external resources for wp-login.php
-------------------------------------+-------------------------------------
Reporter: sabernhardt | Owner: rajinsharwar
Type: enhancement | Status: assigned
Priority: normal | Milestone: 6.4
Component: Login and Registration | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: javascript, css,
needs-testing-info | performance
-------------------------------------+-------------------------------------
Comment (by sabernhardt):
I had intended to change this only for the standard login action (not
Register, Reset Password, etc.) It would be good to confirm that the other
actions are unaffected.
People could test how the login form's visibility button works with these
proposed changes in English. Before testing it in other languages,
however, please test the patch on #58696. If that fixes the `install` and
`setup-config` pages, then keep that patch applied to determine whether
the `aria-label` updates properly in that language with the login's
password visibility button (or if it still needs an adjustment for the
login).
Another situation we should try is adding a custom script with a
dependency of `user-profile`, which might conflict with `password-toggle`.
(If so, maybe it is still acceptable if a dev note recommends to dequeue
`password-toggle` when `user-profile` is necessary.)
When applying the patch from PR 5040, ensure that the stylesheet is
compiled, and refresh the page (clear cache if necessary). The text in the
toggle button should not be visible with the new `.hidden` class.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57157#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list