[wp-trac] [WordPress Trac] #35155: Error messages still get covered over by wp admin menu.
WordPress Trac
noreply at wordpress.org
Mon Jan 18 16:53:30 UTC 2016
#35155: Error messages still get covered over by wp admin menu.
---------------------------+------------------------------
Reporter: EmpireOfLight | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 4.4
Severity: normal | Resolution:
Keywords: | Focuses:
---------------------------+------------------------------
Comment (by afercia):
Would using `error_get_last()` be safe? Then it would be as simple as
printing out a body CSS class and use some styling:
{{{
if ( error_get_last() ) {
$admin_body_class .= ' php-error';
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35155#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list