wp_die() does not have any formatting options which can break plugins that use AJAX.
|Reported by:||ajd777||Owned by:|
Wp_die() should have a filter on outputted text because currently it forces plugins to work around it or attempt to hackishly avoid it.
I would love to see a way to set a temporary option just before functions are called to make it possible to disable the styled output, but a filter would be just as effective.
As an aside, it would be nice if the formatted error message used the theme's error page for most errors.
Change History (7)
- Priority changed from normal to low
- Severity changed from normal to minor
- Milestone changed from 2.1.1 to 2.2
- Type changed from defect to enhancement