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

WordPress Trac noreply at wordpress.org
Wed Aug 22 19:24:16 UTC 2018


#44828: Admin bar issue
-------------------------------+------------------------------
 Reporter:  prashantvatsh      |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Toolbar            |     Version:  4.9.8
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Description changed by SergeyBiryukov:

Old description:

> 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

New description:

 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#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list