[wp-trac] Re: [WordPress Trac] #5300: User registration time not being saved

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 1 05:35:36 GMT 2007


#5300: User registration time not being saved
------------------------------+---------------------------------------------
 Reporter:  mdawaffe          |        Owner:  mdawaffe
     Type:  defect            |       Status:  assigned
 Priority:  normal            |    Milestone:  2.4     
Component:  General           |      Version:          
 Severity:  normal            |   Resolution:          
 Keywords:  has-patch commit  |  
------------------------------+---------------------------------------------
Comment (by ryan):

 Lines 150 and 151 of admin-ajax.php have a syntax error.  150 is missing a
 semi-colon and 151 seems out-of-place.  I removed 151 and put a semi on
 150 and everything worked as described.  Big ++.

 We need to return WP_Error from more of the functions used in admin-
 ajax.php.  Some of them still return 0 for back compat reasons.  We could
 add an arg to them that allows the caller to request WP_Error return.

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


More information about the wp-trac mailing list