[wp-trac] Re: [WordPress Trac] #5263: Improved handling of profile-update errors

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 3 11:12:20 GMT 2007


#5263: Improved handling of profile-update errors
---------------------------------------------------------+------------------
 Reporter:  filosofo                                     |        Owner:  pishmishy
     Type:  enhancement                                  |       Status:  assigned 
 Priority:  normal                                       |    Milestone:  2.4      
Component:  Administration                               |      Version:  2.3      
 Severity:  normal                                       |   Resolution:           
 Keywords:  profile update has-patch developer-feedback  |  
---------------------------------------------------------+------------------
Changes (by pishmishy):

  * keywords:  wp_die profile update has-patch => profile update has-patch
               developer-feedback

Comment:

 There's no reason to use wp_die(). This should be reserved for
 unrecoverable errors. User-friendly ways of handling errors should be used
 when possible.

 My attached patch passes the error back to profile.php to be displayed in
 a fading box. This should help other proposed changes such as #5404.

 (Note: I'm not entirely happy with passing the error back through the
 options table. I'm open to suggestions if a better way can be shown.)

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5263#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list