WordPress.org

Make WordPress Core

Ticket #9569: 9569.2.diff

File 9569.2.diff, 697 bytes (added by coffee2code, 9 years ago)

Alternative (and preferred) implementation

  • 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 ( strpos($password, ' ') === false )
     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