Commit 30fdee4
Login and Registration: Populate username after password reset.
Accessibility: to meet WCAG 2.2/3.3.7: Redundant entry, the username should be auto-populated when a user performs a password reset.
There is an existing cookie set that contains this information, but was deleted before displaying the login form.
Move cookie deletion to occur after displaying login form and use to set `$user_login`.
Props estelaris, alh0319, sabernhardt, oglekler, peterwilsoncc, rcreators, rishavdutta, chaion07, stoyangeorgiev, rinkalpagdar, pratiklondhe, lukasfritzedev, ferdoused, audrasjb, westonruter, joedolson.
Fixes #60726.
git-svn-id: https://develop.svn.wordpress.org/trunk@61610 602fd350-edb4-49c9-b593-d223f7449a821 parent 6353422 commit 30fdee4
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1000 | 1000 | | |
1001 | 1001 | | |
1002 | 1002 | | |
1003 | | - | |
1004 | 1003 | | |
1005 | 1004 | | |
1006 | 1005 | | |
| |||
1487 | 1486 | | |
1488 | 1487 | | |
1489 | 1488 | | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
1490 | 1497 | | |
1491 | 1498 | | |
1492 | 1499 | | |
| |||
0 commit comments