#37617 closed defect (bug) (fixed)
Username text overflows in error message box on login screen.
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 5.9 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Login and Registration | Keywords: | has-patch has-screenshots commit |
| Focuses: | ui, administration | Cc: |
Description
If we enter correct long username in wp-admin login page and wrong password then it show error message and it goes out of the message box.
Attachments (10)
Change History (21)
#4
@
7 years ago
- Keywords needs-refresh added
- Milestone changed from Awaiting Review to Future Release
I am able to reproduce this in the current version of WordPress. login_error.patch does not fix the issue for me, though.
@
4 years ago
Login and Registration: Ensure that long username or email doesn’t break the login message interface.
#5
@
4 years ago
Looks like word-break: break-all; is not ideal since it breaks other words.
Let's refresh the patch using break-word :)
@
4 years ago
Login and Registration: Ensure that long username or email doesn’t break the login message interface.
#6
@
4 years ago
- Keywords has-screenshots added; needs-refresh removed
- Milestone changed from Future Release to 5.9
Looks like we're good to go.
Moving for 5.9 consideration.
#7
@
4 years ago
The word-break: break-word styling works for me in modern Windows 10 browsers, as it does for the backtoblog link (ticket:52776#comment:8).
However, MDN Web Docs note that this value is deprecated for word-break. Using word-wrap: break-word also works for me in modern Windows 10 browsers (plus Internet Explorer 11). If we switch to word-wrap, the backtoblog link should have the same.
@
4 years ago
Switch to word-wrap for better cross browser support. Includes changing #backtoblog for consistency.
#8
@
4 years ago
- Keywords commit added
Per @sabernhardt suggestions, 37617.3.diff switches to word-wrap: break-word for better cross-browser support and to avoid the deprecation. For consistency, changes #backtoblog to match. Marking for commit.
related https://core.trac.wordpress.org/ticket/37555#comment:3