diff --git a/src/wp-admin/setup-config.php b/src/wp-admin/setup-config.php index 1f6a3ec4a4..038f68bd14 100644 --- a/src/wp-admin/setup-config.php +++ b/src/wp-admin/setup-config.php @@ -50,11 +50,21 @@ else // Check if wp-config.php has been created if ( file_exists( ABSPATH . 'wp-config.php' ) ) - wp_die( '
' . sprintf( __( "The file 'wp-config.php' already exists. If you need to reset any of the configuration items in this file, please delete it first. You may try installing now." ), 'install.php' ) . '
' ); + wp_die( '' . sprintf( + /* translators: %s: install.php */ + __( "The file 'wp-config.php' already exists. If you need to reset any of the configuration items in this file, please delete it first. You may try installing now." ), + 'install.php' + ) . '
' + ); // Check if wp-config.php exists above the root directory but is not part of another install if ( @file_exists( ABSPATH . '../wp-config.php' ) && ! @file_exists( ABSPATH . '../wp-settings.php' ) ) { - wp_die( '' . sprintf( __( "The file 'wp-config.php' already exists one level above your WordPress installation. If you need to reset any of the configuration items in this file, please delete it first. You may try installing now."), 'install.php' ) . '
' ); + wp_die( '' . sprintf( + /* translators: %s: install.php */ + __( "The file 'wp-config.php' already exists one level above your WordPress installation. If you need to reset any of the configuration items in this file, please delete it first. You may try installing now." ), + 'install.php' + ) . '
' + ); } $step = isset( $_GET['step'] ) ? (int) $_GET['step'] : -1; @@ -139,12 +149,26 @@ switch($step) { -
- wp-config.php file.' ); ?>
- wp-config-sample.php in a text editor, fill in your information, and save it as wp-config.php
." ); ?>
- We got it." ); ?>
-
wp-config.php'
+ );
+ ?>
+ wp-config-sample.php',
+ 'wp-config.php
'
+ );
+ ?>
+ We got it.' ),
+ __( 'https://codex.wordpress.org/Editing_wp-config.php' )
+ );
+?>