[wp-trac] [WordPress Trac] #44828: Admin bar issue

WordPress Trac noreply at wordpress.org
Tue Aug 21 14:45:57 UTC 2018


#44828: Admin bar issue
----------------------------+-----------------------------
 Reporter:  prashantvatsh   |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  4.9.8
 Severity:  normal          |   Keywords:  needs-patch
  Focuses:                  |
----------------------------+-----------------------------
 I have found this issue today. When I am logged in on the site and if
 there is no admin bar then the page is taking margin from top and showing
 whitespace and this CSS getting applied there:

 html {
     margin-top: 32px !important;
 }

 and it is coming from the file wp-includes/admin-bar.php and written in
 function _admin_bar_bump_cb

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44828>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list