Make WordPress Core

Ticket #56365: #56365.2.diff

File #56365.2.diff, 2.8 KB (added by oliverstapelfeldt, 2 years ago)
  • wp-admin/setup-config.php

    diff --git a/wp-admin/setup-config.php b/wp-admin/setup-config.php
    index bf5e1c84c3..9ce87149eb 100644
    a b switch ( $step ) { 
    213213        <table class="form-table" role="presentation">
    214214                <tr>
    215215                        <th scope="row"><label for="dbname"><?php _e( 'Database Name' ); ?></label></th>
    216                         <td><input name="dbname" id="dbname" type="text" aria-describedby="dbname-desc" size="25" value="wordpress"<?php echo $autofocus; ?>/></td>
     216                        <td><input name="dbname" id="dbname" type="text" aria-describedby="dbname-desc" size="25" placeholder="wordpress"<?php echo $autofocus; ?>/></td>
    217217                        <td id="dbname-desc"><?php _e( 'The name of the database you want to use with WordPress.' ); ?></td>
    218218                </tr>
    219219                <tr>
    220220                        <th scope="row"><label for="uname"><?php _e( 'Username' ); ?></label></th>
    221                         <td><input name="uname" id="uname" type="text" aria-describedby="uname-desc" size="25" value="<?php echo htmlspecialchars( _x( 'username', 'example username' ), ENT_QUOTES ); ?>" /></td>
     221                        <td><input name="uname" id="uname" type="text" aria-describedby="uname-desc" size="25" placeholder="<?php echo htmlspecialchars( _x( 'username', 'example username' ), ENT_QUOTES ); ?>" /></td>
    222222                        <td id="uname-desc"><?php _e( 'Your database username.' ); ?></td>
    223223                </tr>
    224224                <tr>
    225225                        <th scope="row"><label for="pwd"><?php _e( 'Password' ); ?></label></th>
    226                         <td><input name="pwd" id="pwd" type="text" aria-describedby="pwd-desc" size="25" value="<?php echo htmlspecialchars( _x( 'password', 'example password' ), ENT_QUOTES ); ?>" autocomplete="off" /></td>
     226                        <td><input name="pwd" id="pwd" type="text" aria-describedby="pwd-desc" size="25" placeholder="<?php echo htmlspecialchars( _x( 'password', 'example password' ), ENT_QUOTES ); ?>" autocomplete="off" /></td>
    227227                        <td id="pwd-desc"><?php _e( 'Your database password.' ); ?></td>
    228228                </tr>
    229229                <tr>
    230230                        <th scope="row"><label for="dbhost"><?php _e( 'Database Host' ); ?></label></th>
    231                         <td><input name="dbhost" id="dbhost" type="text" aria-describedby="dbhost-desc" size="25" value="localhost" /></td>
     231                        <td><input name="dbhost" id="dbhost" type="text" aria-describedby="dbhost-desc" size="25" placeholder="localhost" /></td>
    232232                        <td id="dbhost-desc">
    233233                        <?php
    234234                                /* translators: %s: localhost */
    switch ( $step ) { 
    238238                </tr>
    239239                <tr>
    240240                        <th scope="row"><label for="prefix"><?php _e( 'Table Prefix' ); ?></label></th>
    241                         <td><input name="prefix" id="prefix" type="text" aria-describedby="prefix-desc" value="wp_" size="25" /></td>
     241                        <td><input name="prefix" id="prefix" type="text" aria-describedby="prefix-desc" placeholder="wp_" size="25" /></td>
    242242                        <td id="prefix-desc"><?php _e( 'If you want to run multiple WordPress installations in a single database, change this.' ); ?></td>
    243243                </tr>
    244244        </table>