Make WordPress Core


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

    r29705 r29962  
    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 _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>
     136                <p><?php echo _wp_password_hint(); ?></p>
    137137            </td>
    138138        </tr>
Note: See TracChangeset for help on using the changeset viewer.