From 0375edc8c645081a530fc87d20b47cfae9e967ed Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 15 Dec 2014 08:33:48 +0000 Subject: [PATCH] No need for wp_get_password_hint() to be prefixed as if it is private. see #21243. git-svn-id: https://develop.svn.wordpress.org/trunk@30855 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/install.php | 2 +- src/wp-admin/user-edit.php | 2 +- src/wp-admin/user-new.php | 2 +- src/wp-includes/user.php | 3 +-- src/wp-login.php | 2 +- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/wp-admin/install.php b/src/wp-admin/install.php index d869f2a2aa..93c9d72f87 100644 --- a/src/wp-admin/install.php +++ b/src/wp-admin/install.php @@ -133,7 +133,7 @@ function display_setup_form( $error = null ) {

-

+

diff --git a/src/wp-admin/user-edit.php b/src/wp-admin/user-edit.php index e9982de3fd..491f89ab91 100644 --- a/src/wp-admin/user-edit.php +++ b/src/wp-admin/user-edit.php @@ -488,7 +488,7 @@ if ( $show_password_fields ) :


-

+

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

+

diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php index 185795271a..3640980f56 100644 --- a/src/wp-includes/user.php +++ b/src/wp-includes/user.php @@ -2093,11 +2093,10 @@ function _wp_get_user_contactmethods( $user = null ) { * Gets the text suggesting how to create strong passwords. * * @since 4.1.0 - * @access private * * @return string The password hint text. */ -function _wp_get_password_hint() { +function wp_get_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 ! " ? $ % ^ & ).' ); /** diff --git a/src/wp-login.php b/src/wp-login.php index 504ec240f5..3dabec4a4c 100644 --- a/src/wp-login.php +++ b/src/wp-login.php @@ -635,7 +635,7 @@ case 'rp' :

-

+