[wp-trac] [WordPress Trac] #36166: wp_die() doesn't accept a WP_Error during unit testing
WordPress Trac
noreply at wordpress.org
Wed Mar 23 19:00:40 UTC 2016
#36166: wp_die() doesn't accept a WP_Error during unit testing
------------------------------+---------------------------
Reporter: dd32 | Owner: boonebgorges
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.5
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
------------------------------+---------------------------
Changes (by boonebgorges):
* owner: => boonebgorges
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"37071"]:
{{{
#!CommitTicketReference repository="" revision="37071"
Tests: Ensure that the default `wp_die()` handler can handle a `WP_Error`
object.
Props dd32, utkarshpatel.
Fixes #36166.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36166#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list