[wp-trac] [WordPress Trac] #57157: Reduce external resources for wp-login.php
WordPress Trac
noreply at wordpress.org
Sat Aug 19 21:07:55 UTC 2023
#57157: Reduce external resources for wp-login.php
-------------------------------+-------------------------------------------
Reporter: sabernhardt | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 6.4
Component: Login and | Version:
Registration |
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript, css, performance
-------------------------------+-------------------------------------------
Changes (by sabernhardt):
* keywords: has-patch 2nd-opinion => has-patch
Comment:
PR 5040 uses the new `password-toggle` script without editing it.
Activating the button would add either "Show" or "Hide" in the empty
`.text` element, but that is hidden.
Unless the translation bug in #58696 gets fixed, this is **not** ready to
commit. If someone wants to try moving the translations to the PHP and
update the script, the installation pages' toggle buttons might be updated
similarly without needing to fix that bug. (I had attempted to set `data-`
attributes, but my script did not change the ARIA label and text every
time I clicked the button.)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57157#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list