WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/01/2015 02:47:24 PM (7 years ago)
Author:
markjaquith
Message:

New password change/set UI.

  • Generate the password for the user
  • More tightly integrate password strength meter
  • Warn on weak passwords

see #32589

props MikeHansenMe, adamsilverstein, binarykitten

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/user.php

    r33019 r33023  
    24102410 */
    24112411function wp_get_password_hint() {
    2412     $hint = __( 'Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers, and symbols like ! " ? $ % ^ & ).' );
     2412    $hint = __( 'Hint: The password should be at least twelve characters long. To make it stronger, use upper and lower case letters, numbers, and symbols like ! " ? $ % ^ & ).' );
    24132413
    24142414    /**
     
    26162616    update_user_option( $user_id, 'default_password_nag', true, true ); //Set up the Password change nag.
    26172617
    2618     wp_new_user_notification( $user_id, $user_pass );
     2618    wp_new_user_notification( $user_id );
    26192619
    26202620    return $user_id;
Note: See TracChangeset for help on using the changeset viewer.