[wp-trac] [WordPress Trac] #46811: White screen for admins on handled fatal errors

WordPress Trac noreply at wordpress.org
Mon Apr 15 16:33:30 UTC 2019


#46811: White screen for admins on handled fatal errors
----------------------------------------------------+---------------------
 Reporter:  axaak                                   |       Owner:  (none)
     Type:  defect (bug)                            |      Status:  new
 Priority:  normal                                  |   Milestone:  5.2
Component:  General                                 |     Version:  trunk
 Severity:  normal                                  |  Resolution:
 Keywords:  needs-patch has-screenshots servehappy  |     Focuses:
----------------------------------------------------+---------------------

Comment (by schlessera):

 During core-php office hours, we agreed we should keep printing the wp-
 error template when `is_admin()`, even if `headers_sent()`.
 Apparently, the `wp_die` pretty handler won’t reprint out the head
 stylings if the head was already opened in the admin, so it should be safe
 to do so.

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


More information about the wp-trac mailing list