[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:53:08 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 hakre):

 For me both ways work, last commit does help with no need to test for a
 exception but the function wp_die() use must now take care that using
 wp_die() must not mean that this was the end of the script.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11892#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list