[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
Fri Oct 28 13:43:41 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: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.3
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Changes (by F J Kaiser):
* cc: 24-7@… (added)
Comment:
Removed {{{$message = '';}}} and set to simply {{{return;}}}, to interrupt
output and only trigger {{{wp_die();}}} if an error is present.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19073#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list