- require_once( ABSPATH . '/wp-includes/class-wp-error.php' );
- require_once( ABSPATH . '/wp-includes/functions.php' );
- require_once( ABSPATH . '/wp-includes/plugin.php' );
- $text_direction = /*WP_I18N_TEXT_DIRECTION*/'ltr'/*/WP_I18N_TEXT_DIRECTION*/;
- wp_die(sprintf(/*WP_I18N_NO_CONFIG*/"<p>There doesn't seem to be a <code>wp-config.php</code> file. I need this before we can get started.</p> <p>Need more help? <a href='http://codex.wordpress.org/Editing_wp-config.php'>We got it</a>.</p> <p>You can create a <code>wp-config.php</code> file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.</p><p><a href='%ssetup-config.php' class='button'>Create a Configuration File</a></p>"/*/WP_I18N_NO_CONFIG*/, $path), /*WP_I18N_ERROR_TITLE*/'WordPress › Error'/*/WP_I18N_ERROR_TITLE*/, array('text_direction' => $text_direction));
+ $die = sprintf(
+ /* translators: %s: wp-config.php */
+ __( "There doesn't seem to be a %s file. I need this before we can get started." ),
+ '<code>wp-config.php</code>'
+ ) . '</p>';
+ $die .= '<p>' . sprintf(
+ /* translators: %s: Codex URL */
+ __( "Need more help? <a href='%s'>We got it</a>." ),
+ __( 'https://codex.wordpress.org/Editing_wp-config.php' )
+ ) . '</p>';
+ $die .= '<p>' . 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." ),
+ '<code>wp-config.php</code>'
+ ) . '</p>';
+ $die .= '<p><a href="' . $path . '" class="button button-large">' . __( "Create a Configuration File" ) . '</a>';