Changeset 56008 for trunk/src/wp-admin/setup-config.php
- Timestamp:
- 06/23/2023 11:07:10 PM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/setup-config.php
r55990 r56008 224 224 <tr> 225 225 <th scope="row"><label for="dbname"><?php _e( 'Database Name' ); ?></label></th> 226 <td><input name="dbname" id="dbname" type="text" aria-describedby="dbname-desc" size="25" placeholder="wordpress"<?php echo $autofocus; ?>/> </td>227 < td id="dbname-desc"><?php _e( 'The name of the database you want to use with WordPress.' ); ?></td>226 <td><input name="dbname" id="dbname" type="text" aria-describedby="dbname-desc" size="25" placeholder="wordpress"<?php echo $autofocus; ?>/> 227 <p id="dbname-desc"><?php _e( 'The name of the database you want to use with WordPress.' ); ?></p></td> 228 228 </tr> 229 229 <tr> 230 230 <th scope="row"><label for="uname"><?php _e( 'Username' ); ?></label></th> 231 <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>232 < td id="uname-desc"><?php _e( 'Your database username.' ); ?></td>231 <td><input name="uname" id="uname" type="text" aria-describedby="uname-desc" size="25" placeholder="<?php echo htmlspecialchars( _x( 'username', 'example username' ), ENT_QUOTES ); ?>" /> 232 <p id="uname-desc"><?php _e( 'Your database username.' ); ?></p></td> 233 233 </tr> 234 234 <tr> 235 235 <th scope="row"><label for="pwd"><?php _e( 'Password' ); ?></label></th> 236 <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" spellcheck="false" /></td> 237 <td id="pwd-desc"><?php _e( 'Your database password.' ); ?></td> 236 <td> 237 <div class="wp-pwd"> 238 <input name="pwd" id="pwd" type="password" class="regular-text" data-reveal="1" aria-describedby="pwd-desc" size="25" placeholder="<?php echo htmlspecialchars( _x( 'password', 'example password' ), ENT_QUOTES ); ?>" autocomplete="off" spellcheck="false" /> 239 <button type="button" class="button pwd-toggle hide-if-no-js" data-toggle="0" data-start-masked="1" aria-label="<?php esc_attr_e( 'Show password' ); ?>"> 240 <span class="dashicons dashicons-visibility"></span> 241 <span class="text"><?php _e( 'Show' ); ?></span> 242 </button> 243 </div> 244 <p id="pwd-desc"><?php _e( 'Your database password.' ); ?></p> 245 </td> 238 246 </tr> 239 247 <tr> 240 248 <th scope="row"><label for="dbhost"><?php _e( 'Database Host' ); ?></label></th> 241 <td><input name="dbhost" id="dbhost" type="text" aria-describedby="dbhost-desc" size="25" value="localhost" /> </td>242 < tdid="dbhost-desc">249 <td><input name="dbhost" id="dbhost" type="text" aria-describedby="dbhost-desc" size="25" value="localhost" /> 250 <p id="dbhost-desc"> 243 251 <?php 244 252 /* translators: %s: localhost */ 245 253 printf( __( 'You should be able to get this info from your web host, if %s does not work.' ), '<code>localhost</code>' ); 246 254 ?> 247 </ td>255 </p></td> 248 256 </tr> 249 257 <tr> 250 258 <th scope="row"><label for="prefix"><?php _e( 'Table Prefix' ); ?></label></th> 251 <td><input name="prefix" id="prefix" type="text" aria-describedby="prefix-desc" value="wp_" size="25" /> </td>252 < td id="prefix-desc"><?php _e( 'If you want to run multiple WordPress installations in a single database, change this.' ); ?></td>259 <td><input name="prefix" id="prefix" type="text" aria-describedby="prefix-desc" value="wp_" size="25" /> 260 <p id="prefix-desc"><?php _e( 'If you want to run multiple WordPress installations in a single database, change this.' ); ?></p></td> 253 261 </tr> 254 262 </table> … … 261 269 </form> 262 270 <?php 271 wp_print_scripts( 'password-toggle' ); 263 272 break; 264 273
Note: See TracChangeset
for help on using the changeset viewer.