[wp-trac] [WordPress Trac] #46811: White screen for admins on handled fatal errors
WordPress Trac
noreply at wordpress.org
Tue Apr 16 04:44:14 UTC 2019
#46811: White screen for admins on handled fatal errors
-------------------------------------------------+-------------------------
Reporter: axaak | Owner: flixos90
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.2
Component: General | Version: trunk
Severity: normal | Resolution: fixed
Keywords: needs-patch has-screenshots | Focuses:
servehappy |
-------------------------------------------------+-------------------------
Comment (by swissspidy):
> Wasn't this affected by what is returned for the REST API? (getting HTML
in the wrong context)
`is_admin()` is not true for REST API requests, so that's unaffected here.
`is_admin()` is true for admin-ajax.php request though.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46811#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list