[wp-trac] [WordPress Trac] #19073: wp_die() can be a wrapper for WP_Error objects, but also triggers if no error is present
WordPress Trac
wp-trac at lists.automattic.com
Mon Nov 14 22:00:12 UTC 2011
#19073: wp_die() can be a wrapper for WP_Error objects, but also triggers if no
error is present
--------------------------+----------------------
Reporter: F J Kaiser | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version: 3.3
Severity: normal | Resolution: wontfix
Keywords: has-patch |
--------------------------+----------------------
Changes (by nacin):
* status: new => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
If you pass a WP_Error object to wp_die(), best have a message. Not
changing this -- too much can break and I don't agree with the change. If
you're already calling wp_die(), you expect the script to halt.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19073#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list