Rename `_wp_password_hint()` to `_wp_get_password_hint()` to bring it inline with core terminology. Fixes #21243.

Built from https://develop.svn.wordpress.org/trunk@30033


git-svn-id: http://core.svn.wordpress.org/trunk@30033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2014-10-26 23:30:18 +00:00
parent 11471d6415
commit b1ba80de87
6 changed files with 6 additions and 6 deletions

View File

@ -133,7 +133,7 @@ function display_setup_form( $error = null ) {
<input name="admin_password" type="password" id="pass1" size="25" value="" />
<p><input name="admin_password2" type="password" id="pass2" size="25" value="" /></p>
<div id="pass-strength-result"><?php _e('Strength indicator'); ?></div>
<p><?php echo _wp_password_hint(); ?></p>
<p><?php echo _wp_get_password_hint(); ?></p>
</td>
</tr>
<?php endif; ?>

View File

@ -470,7 +470,7 @@ if ( $show_password_fields ) :
<p class="description"><?php _e( 'Type your new password again.' ); ?></p>
<br />
<div id="pass-strength-result"><?php _e( 'Strength indicator' ); ?></div>
<p class="description indicator-hint"><?php echo _wp_password_hint(); ?></p>
<p class="description indicator-hint"><?php echo _wp_get_password_hint(); ?></p>
</td>
</tr>
<?php endif; ?>

View File

@ -396,7 +396,7 @@ if ( apply_filters( 'show_password_fields', true ) ) : ?>
<input name="pass2" type="password" id="pass2" autocomplete="off" />
<br />
<div id="pass-strength-result"><?php _e('Strength indicator'); ?></div>
<p class="description indicator-hint"><?php echo _wp_password_hint(); ?></p>
<p class="description indicator-hint"><?php echo _wp_get_password_hint(); ?></p>
</td>
</tr>
<tr>

View File

@ -2090,7 +2090,7 @@ function _wp_get_user_contactmethods( $user = null ) {
*
* @return string The password hint text.
*/
function _wp_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 ! " ? $ % ^ &amp; ).' );
/**

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.1-alpha-30032';
$wp_version = '4.1-alpha-30033';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

View File

@ -626,7 +626,7 @@ case 'rp' :
</p>
<div id="pass-strength-result" class="hide-if-no-js"><?php _e('Strength indicator'); ?></div>
<p class="description indicator-hint"><?php echo _wp_password_hint(); ?></p>
<p class="description indicator-hint"><?php echo _wp_get_password_hint(); ?></p>
<br class="clear" />
<?php