Ticket #3791 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

wp_die() should understand WP_Error objects

Reported by: mdawaffe Assigned to: anonymous
Priority: low Milestone: 2.2
Component: Administration Version: 2.1
Severity: normal Keywords: has-patch 2nd-opinion
Cc:

Description

Will make issue brought up by #3775 a bit easier.

Attachments

3791.diff (1.2 kB) - added by mdawaffe on 02/14/07 19:03:40.

Change History

02/14/07 19:03:40 changed by mdawaffe

  • attachment 3791.diff added.

02/14/07 19:07:40 changed by mdawaffe

Where the issue is that functions should be sending WP_Error objects up the stack to give the initiator a choice of actions.

02/20/07 01:24:33 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [4892]) Add WP_Error handling to wp_die(). Props mdawaffe. fixes #3791