[wp-trac] [WordPress Trac] #15439: trim() Passwords and Logins

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 18 04:53:52 UTC 2010


#15439: trim() Passwords and Logins
-------------------------+--------------------------------------------------
 Reporter:  sc0ttkclark  |        Owner:                 
     Type:  enhancement  |       Status:  closed         
 Priority:  normal       |    Milestone:  Awaiting Review
Component:  Users        |      Version:  3.1            
 Severity:  minor        |   Resolution:  worksforme     
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by johnbillion):

  * status:  new => closed
  * resolution:  => worksforme


Comment:

 As Hakre points out, this is the current behaviour.

 See `wp_authenticate()` in `wp-includes/pluggable.php'. The password is
 trimmed there, and `sanitize_user()` takes care of trimming the username.

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


More information about the wp-trac mailing list