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

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


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

 It's also possible to do this in profile-update.php
 {{{
 if ( is_wp_error( $errors ) ) {
         include_once('profile.php');
         exit;
 }
 }}}
 Then the $error object becomes available to profile.php. The other admin
 pages don't use a seperate -update.php file so perhaps DD32 has shown the
 right way to go.

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


More information about the wp-trac mailing list