[wp-trac] [WordPress Trac] #11892: replace die() and exit() with a pluggable wp_exit(); function
WordPress Trac
wp-trac at lists.automattic.com
Thu Jan 14 00:55:26 UTC 2010
#11892: replace die() and exit() with a pluggable wp_exit(); function
--------------------------+-------------------------------------------------
Reporter: hakre | Owner: westi
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Unit Tests | Version: 3.0
Severity: blocker | Keywords:
--------------------------+-------------------------------------------------
Comment(by ramenboy):
You could throw an exception from a hook to abort the function without
terminating execution (assuming you write your tests in PHP5).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11892#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list