[wp-trac] [WordPress Trac] #21931: White screen of death if theme can't be found

WordPress Trac noreply at wordpress.org
Sun Jan 17 23:58:06 UTC 2016


#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 ericlewis):

 In [changeset:"36338"]:
 {{{
 #!CommitTicketReference repository="" revision="36338"
 Themes: Only users with proper capability should see theme errors.

 After [36335], if a template file is not loaded, an error is displayed
 to logged-in users. As logged-in users may have no capabilities,
 this check is insubstantial. Limit the display of this error to users
 with the `install_themes` capability, i.e. someone who has the capacity
 to deal with the error.

 See #21931.
 }}}

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


More information about the wp-trac mailing list