Make WordPress Core

Changeset 30940


Ignore:
Timestamp:
12/16/2014 10:18:48 PM (10 years ago)
Author:
SergeyBiryukov
Message:

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.

Location:
branches/4.1/src
Files:
5 edited

Legend:

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

    r30054 r30940  
    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>
  • branches/4.1/src/wp-admin/user-edit.php

    r30895 r30940  
    480480    <br />
    481481    <div id="pass-strength-result"><?php _e( 'Strength indicator' ); ?></div>
    482     <p class="description indicator-hint"><?php echo _wp_get_password_hint(); ?></p>
     482    <p class="description indicator-hint"><?php echo wp_get_password_hint(); ?></p>
    483483    </td>
    484484</tr>
  • branches/4.1/src/wp-admin/user-new.php

    r30754 r30940  
    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>
  • branches/4.1/src/wp-includes/user.php

    r30753 r30940  
    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
  • branches/4.1/src/wp-login.php

    r30651 r30940  
    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.