[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:53:37 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:       
--------------------------+-------------------------------------------------
Changes (by Denis-de-Bernardy):

  * version:  => 3.0
  * milestone:  Unassigned => 3.0


Comment:

 The issue here is that, if it calls die, it's not really meant to continue
 running the actual code. Wouldn't this make the test suit break? As in, it
 keeps processing the WP request, and outputs garbage?

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


More information about the wp-trac mailing list