[wp-trac] [WordPress Trac] #5166: use wp_die instead of echo/exit pair

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 8 16:16:24 GMT 2007


#5166: use wp_die instead of echo/exit pair
------------------------+---------------------------------------------------
 Reporter:  nbachiyski  |       Owner:  anonymous
     Type:  defect      |      Status:  new      
 Priority:  low         |   Milestone:  2.4      
Component:  General     |     Version:  2.3      
 Severity:  minor       |    Keywords:  has-patch
------------------------+---------------------------------------------------
 In tow places in {{{wp-admin}}} errors are taken from {{{WP_Error}}}
 object and are just printed and the script ends.

 Thus it is both not very beautoful and doesn't issue the correct encoding
 headers. Using {{{wp_die}}} solves both problems.

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


More information about the wp-trac mailing list