Make WordPress Core

Ticket #47043: 47043.patch

File 47043.patch, 2.9 KB (added by ramiy, 6 years ago)
  • wp-admin/includes/class-wp-debug-data.php

     
    740740                );
    741741
    742742                $info['wp-database']['fields']['database_user'] = array(
    743                         'label'   => __( 'Database user' ),
     743                        'label'   => __( 'Database username' ),
    744744                        'value'   => $wpdb->dbuser,
    745745                        'private' => true,
    746746                );
     
    758758                );
    759759
    760760                $info['wp-database']['fields']['database_prefix'] = array(
    761                         'label'   => __( 'Database prefix' ),
     761                        'label'   => __( 'Table prefix' ),
    762762                        'value'   => $wpdb->prefix,
    763763                        'private' => true,
    764764                );
  • wp-admin/setup-config.php

     
    209209        <p><?php _e( 'Below you should enter your database connection details. If you&#8217;re not sure about these, contact your host.' ); ?></p>
    210210        <table class="form-table">
    211211                <tr>
    212                         <th scope="row"><label for="dbname"><?php _e( 'Database Name' ); ?></label></th>
     212                        <th scope="row"><label for="dbname"><?php _e( 'Database name' ); ?></label></th>
    213213                        <td><input name="dbname" id="dbname" type="text" size="25" value="wordpress"<?php echo $autofocus; ?>/></td>
    214214                        <td><?php _e( 'The name of the database you want to use with WordPress.' ); ?></td>
    215215                </tr>
    216216                <tr>
    217                         <th scope="row"><label for="uname"><?php _e( 'Username' ); ?></label></th>
     217                        <th scope="row"><label for="uname"><?php _e( 'Database username' ); ?></label></th>
    218218                        <td><input name="uname" id="uname" type="text" size="25" value="<?php echo htmlspecialchars( _x( 'username', 'example username' ), ENT_QUOTES ); ?>" /></td>
    219219                        <td><?php _e( 'Your database username.' ); ?></td>
    220220                </tr>
    221221                <tr>
    222                         <th scope="row"><label for="pwd"><?php _e( 'Password' ); ?></label></th>
     222                        <th scope="row"><label for="pwd"><?php _e( 'Database password' ); ?></label></th>
    223223                        <td><input name="pwd" id="pwd" type="text" size="25" value="<?php echo htmlspecialchars( _x( 'password', 'example password' ), ENT_QUOTES ); ?>" autocomplete="off" /></td>
    224224                        <td><?php _e( 'Your database password.' ); ?></td>
    225225                </tr>
    226226                <tr>
    227                         <th scope="row"><label for="dbhost"><?php _e( 'Database Host' ); ?></label></th>
     227                        <th scope="row"><label for="dbhost"><?php _e( 'Database host' ); ?></label></th>
    228228                        <td><input name="dbhost" id="dbhost" type="text" size="25" value="localhost" /></td>
    229229                        <td>
    230230                        <?php
     
    234234                        </td>
    235235                </tr>
    236236                <tr>
    237                         <th scope="row"><label for="prefix"><?php _e( 'Table Prefix' ); ?></label></th>
     237                        <th scope="row"><label for="prefix"><?php _e( 'Table prefix' ); ?></label></th>
    238238                        <td><input name="prefix" id="prefix" type="text" value="wp_" size="25" /></td>
    239239                        <td><?php _e( 'If you want to run multiple WordPress installations in a single database, change this.' ); ?></td>
    240240                </tr>