[wp-trac] Re: [WordPress Trac] #2914: Replace die('s with wp_die('s

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 5 22:02:06 GMT 2006


#2914: Replace die('s with wp_die('s
----------------------------+-----------------------------------------------
 Reporter:  filosofo        |        Owner:  filosofo
     Type:  enhancement     |       Status:  closed  
 Priority:  normal          |    Milestone:  2.1     
Component:  Administration  |      Version:  2.1     
 Severity:  normal          |   Resolution:  fixed   
 Keywords:  bg|has-patch    |  
----------------------------+-----------------------------------------------
Comment (by ryan):

 I had to make a few changes. Don't wp_die after a redirect.  Don't wp_die
 when wp-config cannot be loaded.  Don't wp_die when an importer is using
 die as a means of sending non error output.  A good general rule is to
 only wp_die when there is a die with a translatable string in it.

 I remove a few wp_dies from wp-login in the reset/retrieve password areas.
 We could add these back if we integrate the echos that come before the die
 into the die.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2914>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list