Make WordPress Core


Ignore:
Timestamp:
05/14/2009 06:54:33 AM (15 years ago)
Author:
westi
Message:

Give better instructions when installing over an existing users table. Fixes #9569 based on patch from coffee2code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/install.php

    r11301 r11326  
    137137    <tr>
    138138        <th><?php _e('Password'); ?></th>
    139         <td><code><?php echo $password; ?></code><br />
    140             <?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>
     139        <td><?php if ( !empty( $password ) ) {
     140                        echo '<code>'. $password .'</code><br />';
     141                    }
     142                    echo '<p>'. $password_message .'</p>'; ?></td>
    141143    </tr>
    142144</table>
Note: See TracChangeset for help on using the changeset viewer.