[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:39:47 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:
------------------------------------+-----------------------

Comment (by SergeyBiryukov):

 This check seems a bit out of place in `wp_templating_constants()`, and I
 can't remember why I put it there :)

 [attachment:21931.4.diff] moves it to `template-loader.php`, as per the
 initial suggestion and @MikeHansenMe's first patch.

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


More information about the wp-trac mailing list