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-12-07 03:12:14 +00:00
2015-03-05 05:59:10 +00:00
2014-12-09 19:33:09 +00:00
2014-09-11 19:06:33 +00:00
2014-11-25 06:11:02 +00:00
2015-03-06 15:46:26 +00:00
2014-11-30 21:40:53 +00:00
2014-12-06 21:31:41 +00:00
2015-02-24 20:30:22 +00:00
2013-12-24 18:56:05 +00:00
2015-03-07 01:14:31 +00:00
2014-11-24 04:41:15 +00:00
2015-01-08 07:04:40 +00:00
2015-01-10 06:53:48 +00:00
2015-02-14 03:47:02 +00:00
2015-02-26 05:53:31 +00:00
2015-02-06 09:03:26 +00:00
2014-11-17 17:36:17 +00:00
2015-01-16 01:05:52 +00:00
2015-01-29 03:57:42 +00:00
2014-12-30 20:40:50 +00:00
2015-03-05 20:13:15 +00:00
2014-11-20 16:02:55 +00:00
2014-03-03 20:24:31 +00:00
2014-08-13 03:55:10 +00:00
2014-09-29 10:27:58 +00:00
2014-05-06 18:28:46 +00:00
2015-01-11 00:12:47 +00:00
2015-02-25 07:55:55 +00:00
2015-02-25 08:06:26 +00:00
2015-02-25 08:08:48 +00:00
2015-02-25 08:12:12 +00:00
2015-02-25 08:17:25 +00:00
2015-02-25 08:19:54 +00:00
2015-01-16 23:35:24 +00:00
2015-03-05 05:59:10 +00:00
2015-01-16 01:05:52 +00:00
2014-12-01 01:33:34 +00:00
2015-02-27 19:37:47 +00:00
2015-02-27 19:37:47 +00:00
2015-01-10 06:56:51 +00:00
2015-01-16 01:05:52 +00:00
2015-01-11 01:55:34 +00:00
2015-01-25 09:47:05 +00:00
2015-01-16 18:36:46 +00:00
2014-11-24 04:57:17 +00:00
2015-01-17 01:36:55 +00:00
2015-01-03 04:09:12 +00:00
2015-02-23 02:51:49 +00:00
2015-03-05 02:59:47 +00:00
2015-01-16 01:05:52 +00:00
2014-12-01 01:33:34 +00:00
2015-02-05 06:16:35 +00:00
2015-01-06 01:56:07 +00:00
2015-02-27 20:20:31 +00:00
2015-02-23 16:31:31 +00:00
2015-02-26 05:47:53 +00:00
2014-07-07 10:17:44 +00:00
2014-07-07 10:17:44 +00:00
2014-12-06 21:31:41 +00:00
2014-12-06 21:31:41 +00:00
2014-12-06 21:31:41 +00:00
2013-10-23 14:37:54 +00:00
2014-12-01 01:33:34 +00:00
2015-02-26 05:47:53 +00:00
2015-03-01 07:09:48 +00:00
2015-01-17 01:36:55 +00:00
2015-01-16 02:41:07 +00:00
2015-02-13 16:59:51 +00:00
2014-11-30 23:23:37 +00:00
2015-01-16 16:06:47 +00:00
2015-02-13 11:22:38 +00:00
2015-03-05 03:56:21 +00:00
2015-02-06 03:23:46 +00:00
2015-01-10 06:53:48 +00:00
2015-03-06 15:02:08 +00:00
2015-03-06 20:25:09 +00:00
2015-02-05 19:37:47 +00:00
2015-02-06 03:25:32 +00:00
2014-07-19 23:13:19 +00:00
2015-01-12 16:39:39 +00:00
2015-01-16 18:36:46 +00:00
2015-02-22 22:29:19 +00:00
2015-03-07 05:34:47 +00:00
2014-06-30 23:49:34 +00:00
2015-01-12 16:39:39 +00:00
2015-02-23 16:50:01 +00:00
2015-03-06 13:56:44 +00:00
2014-11-30 22:18:33 +00:00
2015-03-01 07:18:42 +00:00
2015-01-08 07:04:40 +00:00
2015-01-12 16:39:39 +00:00
2015-03-06 20:25:09 +00:00
2015-01-04 23:09:53 +00:00
2015-03-07 01:14:31 +00:00
2015-02-14 02:08:46 +00:00
2014-11-30 22:55:08 +00:00
2015-02-14 03:47:02 +00:00
2014-11-03 06:07:26 +00:00
2015-03-02 00:57:34 +00:00
2015-01-16 22:50:20 +00:00
2015-01-19 08:46:24 +00:00
2015-03-07 01:04:22 +00:00
2013-10-30 03:19:16 +00:00
2015-01-16 01:05:52 +00:00
2015-01-17 06:33:42 +00:00
2015-02-09 21:49:18 +00:00
2015-03-04 09:50:34 +00:00
2014-01-10 18:14:20 +00:00
2015-02-25 23:48:27 +00:00
2015-01-16 01:05:52 +00:00
2013-12-11 19:48:29 +00:00
2015-02-09 22:27:43 +00:00
2015-01-29 11:36:00 +00:00