WordPress.org

Make WordPress Core

Changeset 30033


Ignore:
Timestamp:
10/26/2014 11:29:11 PM (7 years ago)
Author:
johnbillion
Message:

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

Location:
trunk/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/install.php

    r29962 r30033  
    134134                <p><input name="admin_password2" type="password" id="pass2" size="25" value="" /></p>
    135135                <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div>
    136                 <p><?php echo _wp_password_hint(); ?></p>
     136                <p><?php echo _wp_get_password_hint(); ?></p>
    137137            </td>
    138138        </tr>
  • trunk/src/wp-admin/user-edit.php

    r30027 r30033  
    471471    <br />
    472472    <div id="pass-strength-result"><?php _e( 'Strength indicator' ); ?></div>
    473     <p class="description indicator-hint"><?php echo _wp_password_hint(); ?></p>
     473    <p class="description indicator-hint"><?php echo _wp_get_password_hint(); ?></p>
    474474    </td>
    475475</tr>
  • trunk/src/wp-admin/user-new.php

    r30005 r30033  
    397397        <br />
    398398        <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div>
    399         <p class="description indicator-hint"><?php echo _wp_password_hint(); ?></p>
     399        <p class="description indicator-hint"><?php echo _wp_get_password_hint(); ?></p>
    400400        </td>
    401401    </tr>
  • trunk/src/wp-includes/user.php

    r30016 r30033  
    20912091 * @return string The password hint text.
    20922092 */
    2093 function _wp_password_hint() {
     2093function _wp_get_password_hint() {
    20942094    $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; ).' );
    20952095
  • trunk/src/wp-login.php

    r29962 r30033  
    627627
    628628    <div id="pass-strength-result" class="hide-if-no-js"><?php _e('Strength indicator'); ?></div>
    629     <p class="description indicator-hint"><?php echo _wp_password_hint(); ?></p>
     629    <p class="description indicator-hint"><?php echo _wp_get_password_hint(); ?></p>
    630630    <br class="clear" />
    631631
Note: See TracChangeset for help on using the changeset viewer.