[wp-hackers] Default password length

David Trower JDavidTrower at gmail.com
Thu Feb 7 19:11:50 GMT 2008


Dan Coulter wrote:
> On Feb 7, 2008 12:23 AM, Jeremy Visser <jeremy.visser at gmail.com> wrote:
>
>   
>> It probably doesn't work without JavaScript, so if you had NoScript or
>> something running, you wouldn't have seen it.
>>
>>     
>
> Ok, I just figured out why I didn't see it.  It doesn't show up when you go
> to edit a user, only when you go to the "Your Profile" tab under users.  Is
> there a reason it's not part of the user edit form?  I'd hate to assume that
> everyone with admin access knew what they were doing when it came to strong
> passwords.
>
>   
I don't know of any conscious decision as to why it is not on the user 
edit form.  With my patch (I just posted a revised patch that is 
compatible with the latest revision) if the administrator has enabled 
the function under settings>general that enables strong passwords, the 
PHP function will work on both the user edit form and the "Your Profile" 
tab.  If it isn't enabled, then that function won't run.  There is some 
JavaScript that will (unless JS is disabled) ensure that the password 
entered on the "Your Profile" tab achieves a password strength of 
better, strong, or very strong.  To test out the PHP function go to 
ticket #4470 and download the patch /password-strength-meter-revised2.diff/

If there is support to having the visual meter on the user edit form as 
well, I can add that code and post a new patch.

-- 

David Trower



More information about the wp-hackers mailing list