Ticket #21243: 21243.5.diff
File 21243.5.diff, 3.8 KB (added by , 7 years ago) |
---|
-
src/wp-includes/user.php
function wp_get_user_contact_methods( $user = null 2055 2055 } 2056 2056 2057 2057 /** 2058 * Gets the text suggesting how to create strong passwords. 2059 * 2060 * @since 4.1.0 2061 * @access private 2062 * 2063 * @return string The password hint text. 2064 */ 2065 function _wp_password_hint() { 2066 $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 ! " ? $ % ^ & ).' ); 2067 2068 /** 2069 * Filter the text describing the site's password complexity policy. 2070 * 2071 * @since 4.1.0 2072 * 2073 * @param string $hint The site's password complexity policy. 2074 */ 2075 return apply_filters( 'password_hint', $hint ); 2076 } 2077 2078 /** 2058 2079 * The old private function for setting up user contact methods. 2059 2080 * 2060 2081 * @since 2.9.0 -
src/wp-admin/user-edit.php
if ( $show_password_fields ) : 470 470 <p class="description"><?php _e( 'Type your new password again.' ); ?></p> 471 471 <br /> 472 472 <div id="pass-strength-result"><?php _e( 'Strength indicator' ); ?></div> 473 <p class="description indicator-hint"><?php _e( 'Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers, and symbols like ! " ? $ % ^ & ).'); ?></p>473 <p class="description indicator-hint"><?php echo _wp_password_hint(); ?></p> 474 474 </td> 475 475 </tr> 476 476 <?php endif; ?> -
src/wp-admin/user-new.php
if ( apply_filters( 'show_password_fields', true ) 397 397 <input name="pass2" type="password" id="pass2" autocomplete="off" /> 398 398 <br /> 399 399 <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div> 400 <p class="description indicator-hint"><?php _e('Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers, and symbols like ! " ? $ % ^ & ).'); ?></p>400 <p class="description indicator-hint"><?php echo _wp_password_hint(); ?></p> 401 401 </td> 402 402 </tr> 403 403 <tr> -
src/wp-admin/install.php
function display_setup_form( $error = null ) { 133 133 <input name="admin_password" type="password" id="pass1" size="25" value="" /> 134 134 <p><input name="admin_password2" type="password" id="pass2" size="25" value="" /></p> 135 135 <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div> 136 <p><?php _e('Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers, and symbols like ! " ? $ % ^ & ).'); ?></p>136 <p><?php echo _wp_password_hint(); ?></p> 137 137 </td> 138 138 </tr> 139 139 <?php endif; ?> -
src/wp-login.php
case 'rp' : 626 626 </p> 627 627 628 628 <div id="pass-strength-result" class="hide-if-no-js"><?php _e('Strength indicator'); ?></div> 629 <p class="description indicator-hint"><?php _e('Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers, and symbols like ! " ? $ % ^ & ).'); ?></p> 630 629 <p class="description indicator-hint"><?php echo _wp_password_hint(); ?></p> 631 630 <br class="clear" /> 632 631 633 632 <?php