diff --git a/src/wp-admin/admin-header.php b/src/wp-admin/admin-header.php
index c6760f9b86..e303b77f9b 100644
a
|
b
|
if ( $current_screen->is_block_editor() ) { |
200 | 200 | } |
201 | 201 | } |
202 | 202 | |
| 203 | // Print a CSS class to make PHP errors visible. |
| 204 | if ( error_get_last() ) { |
| 205 | $admin_body_class .= ' php-error'; |
| 206 | } |
| 207 | |
203 | 208 | ?> |
204 | 209 | </head> |
205 | 210 | <?php |
diff --git a/src/wp-admin/css/admin-menu.css b/src/wp-admin/css/admin-menu.css
index a3d8f4f262..bcecf91a60 100644
a
|
b
|
|
13 | 13 | z-index: 1; /* positive z-index to avoid elastic scrolling woes in Safari */ |
14 | 14 | } |
15 | 15 | |
| 16 | .php-error #adminmenuback { |
| 17 | position: absolute; |
| 18 | } |
| 19 | |
| 20 | .php-error #adminmenuback, |
| 21 | .php-error #adminmenuwrap { |
| 22 | margin-top: 2em; |
| 23 | } |
| 24 | |
16 | 25 | #adminmenu { |
17 | 26 | clear: left; |
18 | 27 | margin: 12px 0; |