[wp-trac] [WordPress Trac] #21931: White screen of death if theme can't be found
WordPress Trac
noreply at wordpress.org
Tue Dec 15 15:25:56 UTC 2015
#21931: White screen of death if theme can't be found
------------------------------------+-----------------------
Reporter: ericlewis | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: 4.5
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: dev-feedback has-patch | Focuses:
------------------------------------+-----------------------
Changes (by ericlewis):
* keywords: 2nd-opinion dev-feedback ux-error-recovery => dev-feedback
has-patch
* milestone: Future Release => 4.5
Comment:
I think we should do something along the lines of @SergeyBiryukov's
suggestion, see attachment:21931.3.diff. which outputs the message `The
theme directory "{{ theme_directory_name }}" does not exist.`
What's wrong with a site visitor seeing this message? Visitors can see the
`Error establishing a database connection` message, this seems in the same
vein. A WP site needs a DB connection, a WP site needs a theme. Fail
early, fail explicitly.
@nacin, @SergeyBiryukov — thoughts?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/21931#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list