[wp-trac] [WordPress Trac] #30002: ms_not_installed returns 200

WordPress Trac noreply at wordpress.org
Thu Oct 16 19:06:41 UTC 2014


#30002: ms_not_installed returns 200
--------------------------------+------------------------------
 Reporter:  spacedmonkey        |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Networks and Sites  |     Version:  4.0
 Severity:  normal              |  Resolution:
 Keywords:                      |     Focuses:  multisite
--------------------------------+------------------------------
Changes (by jeremyfelt):

 * type:  defect (bug) => enhancement


Comment:

 In [14317], we moved from `die()`, which returns 200, to `wp_die()`, which
 returns 500 by default - but only in admin views. I'm not sure if there's
 a good reason to stick with `die()`.

 If we did switch to `wp_die()`, then a filter is available for
 `wp_die_handler` to customize that message.

 We could also consider an action in `ms_not_installed()`.

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


More information about the wp-trac mailing list