WordPress.org

Make WordPress Core

Changeset 30855


Ignore:
Timestamp:
12/15/2014 08:33:48 AM (6 years ago)
Author:
nacin
Message:

No need for wp_get_password_hint() to be prefixed as if it is private.

see #21243.

Location:
trunk/src
Files:
5 edited

Legend:

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

    r30054 r30855  
    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_get_password_hint(); ?></p>
     136                <p><?php echo wp_get_password_hint(); ?></p>
    137137            </td>
    138138        </tr>
  • trunk/src/wp-admin/user-edit.php

    r30754 r30855  
    489489    <br />
    490490    <div id="pass-strength-result"><?php _e( 'Strength indicator' ); ?></div>
    491     <p class="description indicator-hint"><?php echo _wp_get_password_hint(); ?></p>
     491    <p class="description indicator-hint"><?php echo wp_get_password_hint(); ?></p>
    492492    </td>
    493493</tr>
  • trunk/src/wp-admin/user-new.php

    r30754 r30855  
    399399        <br />
    400400        <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div>
    401         <p class="description indicator-hint"><?php echo _wp_get_password_hint(); ?></p>
     401        <p class="description indicator-hint"><?php echo wp_get_password_hint(); ?></p>
    402402        </td>
    403403    </tr>
  • trunk/src/wp-includes/user.php

    r30753 r30855  
    20942094 *
    20952095 * @since 4.1.0
    2096  * @access private
    20972096 *
    20982097 * @return string The password hint text.
    20992098 */
    2100 function _wp_get_password_hint() {
     2099function wp_get_password_hint() {
    21012100    $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; ).' );
    21022101
  • trunk/src/wp-login.php

    r30651 r30855  
    636636
    637637    <div id="pass-strength-result" class="hide-if-no-js"><?php _e('Strength indicator'); ?></div>
    638     <p class="description indicator-hint"><?php echo _wp_get_password_hint(); ?></p>
     638    <p class="description indicator-hint"><?php echo wp_get_password_hint(); ?></p>
    639639    <br class="clear" />
    640640
Note: See TracChangeset for help on using the changeset viewer.