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-login.php

    r29644 r29962  
    627627
    628628    <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 ! " ? $ % ^ &amp; ).'); ?></p>
    630 
     629    <p class="description indicator-hint"><?php echo _wp_password_hint(); ?></p>
    631630    <br class="clear" />
    632631
Note: See TracChangeset for help on using the changeset viewer.