From 608ed06fc86f8169fd18d029a2d5643e13d1f507 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 16 Dec 2014 22:19:22 +0000 Subject: [PATCH] No need for wp_get_password_hint() to be prefixed as if it is private. Merges [30855] to the 4.1 branch. props nacin. see #21243. Built from https://develop.svn.wordpress.org/branches/4.1@30940 git-svn-id: http://core.svn.wordpress.org/branches/4.1@30929 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/install.php | 2 +- wp-admin/user-edit.php | 2 +- wp-admin/user-new.php | 2 +- wp-includes/user.php | 3 +-- wp-login.php | 2 +- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/wp-admin/install.php b/wp-admin/install.php index d869f2a2aa..93c9d72f87 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 f8161045df..e97dfc5836 100644 --- a/wp-admin/user-edit.php +++ b/wp-admin/user-edit.php @@ -479,7 +479,7 @@ if ( $show_password_fields ) :


-

+

diff --git a/wp-admin/user-new.php b/wp-admin/user-new.php index 02f17f8498..78300b45a5 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 185795271a..3640980f56 100644 --- a/wp-includes/user.php +++ b/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/wp-login.php b/wp-login.php index 504ec240f5..3dabec4a4c 100644 --- a/wp-login.php +++ b/wp-login.php @@ -635,7 +635,7 @@ case 'rp' :

-

+