Make WordPress Core


Ignore:
Timestamp:
10/18/2014 08:20:56 PM (10 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-edit.php

    r29820 r29962  
    471471    <br />
    472472    <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 ! " ? $ % ^ &amp; ).' ); ?></p>
     473    <p class="description indicator-hint"><?php echo _wp_password_hint(); ?></p>
    474474    </td>
    475475</tr>
Note: See TracChangeset for help on using the changeset viewer.