[wp-trac] Re: [WordPress Trac] #6271: Add WordPress logo to wp_die()

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 13 19:35:29 GMT 2009


#6271: Add WordPress logo to wp_die()
--------------------------+-------------------------------------------------
 Reporter:  DD32          |       Owner:  markjaquith             
     Type:  defect (bug)  |      Status:  accepted                
 Priority:  low           |   Milestone:  2.9                     
Component:  UI            |     Version:  2.5                     
 Severity:  minor         |    Keywords:  needs-patch dev-feedback
--------------------------+-------------------------------------------------

Comment(by shamess):

 I always figured that wp_die was a sort of cop out, and should always be
 avoided; only really ever used there was no better place to put an error
 message. Where ever it's used, I'd imagine there's a better way to show an
 error without using wp_die() if someone just spent a little more time
 thinking about it.

 Take #4332 for instance, wp_die is only used there to give an error
 message, and clearly was never meant to be in the finished product. (I
 guess someone just forgot about it though. :P)

 My vote is that there doesn't need to be any work done to make it more
 user friendly (wontfix) because ultimately a user should never see it; the
 function that calls wp_die should be updated to have a better error
 output.

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


More information about the wp-trac mailing list