[wp-trac] [WordPress Trac] #46460: wp_die_handler() in the test suite should accept a WP_Error object

WordPress Trac noreply at wordpress.org
Wed Mar 20 18:22:18 UTC 2019


#46460: wp_die_handler() in the test suite should accept a WP_Error object
------------------------------+--------------------------
 Reporter:  johnbillion       |       Owner:  johnbillion
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  5.2
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |     Focuses:
------------------------------+--------------------------
Changes (by johnbillion):

 * owner:  (none) => johnbillion
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"44944" 44944]:
 {{{
 #!CommitTicketReference repository="" revision="44944"
 Build/Test tools: Add support for passing a `WP_Error` object to
 `wp_die()` during tests.

 This brings the functionality inline with `wp_die()` during non-test
 usage.

 Fixes #46460
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46460#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list