[wp-trac] [WordPress Trac] #43335: Consistency for error reporting when theme is broken or not working

WordPress Trac noreply at wordpress.org
Fri Feb 16 11:25:37 UTC 2018


#43335: Consistency for error reporting when theme is broken or not working
-------------------------+-----------------------------
 Reporter:  bashaus      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Themes       |    Version:  4.9.4
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 Even when WP_DEBUG is enabled, if a theme is missing or not appropriately
 configured, there is no error messaging to appropriately debug the issue.
 Whether this be on the frontend or in the error logs.

 For example: if there's no database connection, the error message "Error
 Establishing a Database Connection" is displayed in a Heading 1. If no
 theme is found, the HTTP response body is blank.

 To reproduce this issue:

 * Rename the folder of the active theme
 * Go to the homepage of the WordPress site

 The recommendation of this ticket is to display an error message on the
 frontend and report to the error logs that rendering could not occur.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43335>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list