Make WordPress Core

Ticket #56365: #56365.3.diff

File #56365.3.diff, 1.9 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..e2cdc76317 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>