diff --git a/wp-admin/install.php b/wp-admin/install.php index 72916e4be8..f7a1037444 100644 --- a/wp-admin/install.php +++ b/wp-admin/install.php @@ -133,7 +133,7 @@ function display_setup_form( $error = null ) {

-

+

diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php index 589e74cee8..e713bf8800 100644 --- a/wp-admin/user-edit.php +++ b/wp-admin/user-edit.php @@ -470,7 +470,7 @@ if ( $show_password_fields ) :


-

+

diff --git a/wp-admin/user-new.php b/wp-admin/user-new.php index eb18d136f4..dffbf354fd 100644 --- a/wp-admin/user-new.php +++ b/wp-admin/user-new.php @@ -398,7 +398,7 @@ if ( apply_filters( 'show_password_fields', true ) ) : ?>
-

+

diff --git a/wp-includes/user.php b/wp-includes/user.php index ed3f4af6ea..968baeba6d 100644 --- a/wp-includes/user.php +++ b/wp-includes/user.php @@ -2070,6 +2070,27 @@ function _wp_get_user_contactmethods( $user = null ) { return wp_get_user_contact_methods( $user ); } +/** + * Gets the text suggesting how to create strong passwords. + * + * @since 4.1.0 + * @access private + * + * @return string The password hint text. + */ +function _wp_password_hint() { + $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 ! " ? $ % ^ & ).' ); + + /** + * Filter the text describing the site's password complexity policy. + * + * @since 4.1.0 + * + * @param string $hint The password hint text. + */ + return apply_filters( 'password_hint', $hint ); +} + /** * Retrieves a user row based on password reset key and login * diff --git a/wp-login.php b/wp-login.php index b9dbd61e52..426c6d403d 100644 --- a/wp-login.php +++ b/wp-login.php @@ -626,8 +626,7 @@ case 'rp' :

-

- +