[wp-trac] Re: [WordPress Trac] #9393: PHP notices for WordPress 2.8

WordPress Trac wp-trac at lists.automattic.com
Thu May 7 16:07:38 GMT 2009


#9393: PHP notices for WordPress 2.8
-------------------------------------+--------------------------------------
 Reporter:  Viper007Bond             |        Type:  defect (bug)    
   Status:  new                      |    Priority:  lowest          
Milestone:  2.8                      |   Component:  Warnings/Notices
  Version:  2.8                      |    Severity:  minor           
 Keywords:  has-patch tested commit  |  
-------------------------------------+--------------------------------------

Comment(by sivel):

 Perhaps a better way to handle 9393-registration.diff is to instead of
 excluding ID of the user being updated created is to use the user_login.

 When creating a user the users ID does not exist and is of course not in
 the database yet.  So a notice is thrown reporting that $ID is undefined.
 Instead of using ID perhaps user_login would be better.

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


More information about the wp-trac mailing list