diff --git a/src/wp-load.php b/src/wp-load.php index a20fc0ac57..94a8b541e7 100644 --- a/src/wp-load.php +++ b/src/wp-load.php @@ -72,9 +72,21 @@ if ( file_exists( ABSPATH . 'wp-config.php') ) { wp_load_translations_early(); // Die with an error message - $die = __( "There doesn't seem to be a wp-config.php file. I need this before we can get started." ) . '

'; - $die .= '

' . __( "Need more help? We got it." ) . '

'; - $die .= '

' . __( "You can create a wp-config.php file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file." ) . '

'; + $die = sprintf( + /* translators: %s: wp-config.php */ + __( "There doesn't seem to be a %s file. I need this before we can get started." ), + 'wp-config.php' + ) . '

'; + $die .= '

' . sprintf( + /* translators: %s: Codex URL */ + __( "Need more help? We got it." ), + __( 'https://codex.wordpress.org/Editing_wp-config.php' ) + ) . '

'; + $die .= '

' . sprintf( + /* translators: %s: wp-config.php */ + __( "You can create a %s file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file." ), + 'wp-config.php' + ) . '

'; $die .= '

' . __( "Create a Configuration File" ) . ''; wp_die( $die, __( 'WordPress › Error' ) );