Make WordPress Core


Ignore:
Timestamp:
07/29/2015 03:55:56 AM (10 years ago)
Author:
markjaquith
Message:

Autogenerate passwords that more reliably fit within their inputs.

fixes #33166

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-login.php

    r33450 r33474  
    657657        <div class="wp-pwd">
    658658            <span class="password-input-wrapper">
    659                 <input type="password" data-reveal="1" data-pw="<?php echo esc_attr( wp_generate_password( 24 ) ); ?>" name="pass1" id="pass1" class="input" size="20" value="" autocomplete="off" aria-describedby="pass-strength-result" />
     659                <input type="password" data-reveal="1" data-pw="<?php echo esc_attr( wp_generate_password( 16 ) ); ?>" name="pass1" id="pass1" class="input" size="20" value="" autocomplete="off" aria-describedby="pass-strength-result" />
    660660            </span>
    661661            <div id="pass-strength-result" class="hide-if-no-js" aria-live="polite"><?php _e( 'Strength indicator' ); ?></div>
Note: See TracChangeset for help on using the changeset viewer.