[wp-trac] [WordPress Trac] #48831: WP Admin Bar doesn't display on wp-login.php page

WordPress Trac noreply at wordpress.org
Thu Sep 2 18:38:31 UTC 2021


#48831: WP Admin Bar doesn't display on wp-login.php page
--------------------------+------------------------------
 Reporter:  henry.wright  |       Owner:  (none)
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Toolbar       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by sabernhardt):

 Latest iteration: [attachment:"48831.3.diff"]

 I moved the actions into wp-login.php so it checks whether the filter
 returns true (not every case of showing toolbar). The toolbar also does
 not fit in an interim login.

 For the CSS, I prefer resetting `form` element styles along with the
 links, and the search input min-height matches the height. The `html`
 element includes an `admin-bar` class so the full height layout can
 subtract the toolbar height from 100% (using the new custom property).

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


More information about the wp-trac mailing list