[wp-trac] [WordPress Trac] #51073: Extra padding below the admin bar

WordPress Trac noreply at wordpress.org
Mon Aug 24 10:46:46 UTC 2020


#51073: Extra padding below the admin bar
------------------------------+-----------------------------
 Reporter:  akissz            |       Owner:  SergeyBiryukov
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  5.5.1
Component:  Administration    |     Version:  5.5
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"48850" 48850]:
 {{{
 #!CommitTicketReference repository="" revision="48850"
 Administration: Don't print the `.php-error` class in the admin header for
 PHP notices in `wp-config.php`.

 Any notices in that file happen before `WP_DEBUG` takes effect, and should
 not be displayed with the `error_reporting` level previously set in `wp-
 load.php`.

 Adding the class when there is no notice displayed results in extra
 padding under the admin bar, which should be avoided.

 Follow-up to [20102], [21025], [26620], [47745].

 Props akissz, tw2113, laxman-prajapati, sabernhardt, johnbillion,
 SergeyBiryukov.
 Fixes #51073.
 }}}

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


More information about the wp-trac mailing list