Opened 5 months ago
Closed 4 months ago
#61367 closed enhancement (wontfix)
Long Site Titles Cause Layout Issues on wp-admin Login Page
Reported by: | parinpanjari | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 6.5.3 |
Component: | Login and Registration | Keywords: | has-patch |
Focuses: | ui, administration | Cc: |
Description
When the site title is excessively long (e.g., 5000 characters), it causes the wp-admin login page to display with a long scroll, making the page layout unfriendly and difficult to navigate. This issue can be resolved by truncating the site title to a manageable length for display purposes.
Steps to Reproduce:
- Set a very long site title (around 5000 characters) in the WordPress settings.
- Visit the wp-admin login page.
Recording Video : https://www.loom.com/share/2dd164d12c854f3d895dfad88e025a8b?sid=2a99d7bd-d47c-409e-8047-80054786502b
Wordpress Version: 6.5.3
Attachments (1)
Change History (3)
#1
@
5 months ago
- Component changed from Administration to Login and Registration
- Focuses accessibility removed
- Keywords close 2nd-opinion added
- Type changed from defect (bug) to enhancement
#2
@
4 months ago
- Keywords close 2nd-opinion removed
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
I agree with the suggestion to close this one out. While it's true long strings of text look bad on the login screen, I think a string of text without any spaces is also an edge case and it can be filtered if necessary.
Note: See
TracTickets for help on using
tickets.
Hi and welcome to WordPress Core Trac!
#52776 already made long links wrap to the next line (and [52174] edited the property name).
The admin toolbar uses
wp_html_excerpt
to truncate the site title, but I do not recommend truncating it in the login page'sbacktoblog
link. Whether the text would be cut by an arbitrary number of characters or by word count, the end of that string would make less sense than the link currently does with the full title.