WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/18/2014 08:20:56 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Move password hint text to a function. Add 'password_hint' filter.

props convissor.
fixes #21243.

File:
1 edited

Legend:

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

    r29880 r29962  
    399399        <br />
    400400        <div id="pass-strength-result"><?php _e('Strength indicator'); ?></div>
    401         <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 ! " ? $ % ^ &amp; ).'); ?></p>
     401        <p class="description indicator-hint"><?php echo _wp_password_hint(); ?></p>
    402402        </td>
    403403    </tr>
Note: See TracChangeset for help on using the changeset viewer.