[wp-trac] [WordPress Trac] #61367: Long Site Titles Cause Layout Issues on wp-admin Login Page

WordPress Trac noreply at wordpress.org
Tue Jun 4 18:05:29 UTC 2024


#61367: Long Site Titles Cause Layout Issues on wp-admin Login Page
-----------------------------------------+---------------------------------
 Reporter:  parinpanjari                 |       Owner:  (none)
     Type:  enhancement                  |      Status:  new
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Login and Registration       |     Version:  6.5.3
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch close 2nd-opinion  |     Focuses:  ui, administration
-----------------------------------------+---------------------------------
Changes (by sabernhardt):

 * keywords:  has-patch => has-patch close 2nd-opinion
 * type:  defect (bug) => enhancement
 * focuses:  ui, accessibility, administration => ui, administration
 * component:  Administration => Login and Registration


Comment:

 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
 [https://core.trac.wordpress.org/browser/trunk/src/wp-includes/admin-
 bar.php?rev=58337&marks=389#L389 truncate the site title], but I do not
 recommend truncating it in the login page's `backtoblog` 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 would with the
 full title.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61367#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list