Ticket #47043: 47043.patch
File 47043.patch, 2.9 KB (added by , 6 years ago) |
---|
-
wp-admin/includes/class-wp-debug-data.php
740 740 ); 741 741 742 742 $info['wp-database']['fields']['database_user'] = array( 743 'label' => __( 'Database user ' ),743 'label' => __( 'Database username' ), 744 744 'value' => $wpdb->dbuser, 745 745 'private' => true, 746 746 ); … … 758 758 ); 759 759 760 760 $info['wp-database']['fields']['database_prefix'] = array( 761 'label' => __( ' Database prefix' ),761 'label' => __( 'Table prefix' ), 762 762 'value' => $wpdb->prefix, 763 763 'private' => true, 764 764 ); -
wp-admin/setup-config.php
209 209 <p><?php _e( 'Below you should enter your database connection details. If you’re not sure about these, contact your host.' ); ?></p> 210 210 <table class="form-table"> 211 211 <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> 213 213 <td><input name="dbname" id="dbname" type="text" size="25" value="wordpress"<?php echo $autofocus; ?>/></td> 214 214 <td><?php _e( 'The name of the database you want to use with WordPress.' ); ?></td> 215 215 </tr> 216 216 <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> 218 218 <td><input name="uname" id="uname" type="text" size="25" value="<?php echo htmlspecialchars( _x( 'username', 'example username' ), ENT_QUOTES ); ?>" /></td> 219 219 <td><?php _e( 'Your database username.' ); ?></td> 220 220 </tr> 221 221 <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> 223 223 <td><input name="pwd" id="pwd" type="text" size="25" value="<?php echo htmlspecialchars( _x( 'password', 'example password' ), ENT_QUOTES ); ?>" autocomplete="off" /></td> 224 224 <td><?php _e( 'Your database password.' ); ?></td> 225 225 </tr> 226 226 <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> 228 228 <td><input name="dbhost" id="dbhost" type="text" size="25" value="localhost" /></td> 229 229 <td> 230 230 <?php … … 234 234 </td> 235 235 </tr> 236 236 <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> 238 238 <td><input name="prefix" id="prefix" type="text" value="wp_" size="25" /></td> 239 239 <td><?php _e( 'If you want to run multiple WordPress installations in a single database, change this.' ); ?></td> 240 240 </tr>