WordPress.org

Make WordPress Core

Ticket #9569: bug9569.inherited-password-is-not-random.diff

File bug9569.inherited-password-is-not-random.diff, 725 bytes (added by coffee2code, 6 years ago)

Aforementioned patch

  • wp-admin/install.php

     
    132132        <tr> 
    133133                <th><?php _e('Password'); ?></th> 
    134134                <td><code><?php echo $password; ?></code><br /> 
    135                         <?php echo '<p>'.__('<strong><em>Note that password</em></strong> carefully! It is a <em>random</em> password that was generated just for you.').'</p>'; ?></td> 
     135                        <?php 
     136                        if ( __('User already exists.  Password inherited.') != $password ) 
     137                                echo '<p>'.__('<strong><em>Note that password</em></strong> carefully! It is a <em>random</em> password that was generated just for you.').'</p>'; 
     138                        ?></td> 
    136139        </tr> 
    137140</table> 
    138141