Files
wordpress-develop/src/wp-includes
Jeremy Felt 03b4e1f0aa Return HTTP status code 500 by default in ms_not_installed()
In admin views, specify a response code of 500 when using `wp_die()` to show an expanded message for a broken or missing multisite installation.

On front end views, use `dead_db()` rather than `die()` to generate the generic "Error establishing a database connection" message. `dead_db()` sets a status code of 500 by default and allows for the override of this generic error with a `db-error.php` template.

Props craig-ralston, jeremyfelt.

Fixes #30002.


git-svn-id: https://develop.svn.wordpress.org/trunk@31657 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-07 05:34:47 +00:00
..
2014-09-11 19:06:33 +00:00
2014-11-25 06:11:02 +00:00
2015-03-05 20:13:15 +00:00
2013-10-23 14:37:54 +00:00
2014-11-30 23:23:37 +00:00
2015-01-16 16:06:47 +00:00
2014-11-30 22:55:08 +00:00