WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #27740, comment 7


Ignore:
Timestamp:
06/15/2014 12:00:05 PM (6 years ago)
Author:
UmeshSingla
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27740, comment 7

    initial v1  
    11Yes I missed it totally, and I came across this as well http://stackoverflow.com/questions/632167/should-users-be-allowed-to-entered-a-password-with-a-space-at-the-beginning-or-e
    22
    3 So your patch seems to be more appropriate, although the error message could be more formal.
     3So your patch seems to be more appropriate, although the error message could be more formal. Also `!empty($admin_password)` would return false for a password containing space only. I'm not sure if it will work properly.