[wp-trac] [WordPress Trac] #51073: Extra padding below the admin bar
WordPress Trac
noreply at wordpress.org
Mon Aug 24 10:48:39 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:
------------------------------+-----------------------------
Comment (by SergeyBiryukov):
In [changeset:"48851" 48851]:
{{{
#!CommitTicketReference repository="" revision="48851"
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.
Merges [48850] to the 5.5 branch.
Fixes #51073.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51073#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list