[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 21 22:08:18 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 westi):
I think it is better to make wp_die a wrapper function which filters the
function name to be called so a plugin can enforce a different one as well
as us overloading it for the test cases.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11892#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list