summaryrefslogtreecommitdiffstats
path: root/wp-load.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-load.php')
-rw-r--r--wp-load.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/wp-load.php b/wp-load.php
index f912ed6..423edf5 100644
--- a/wp-load.php
+++ b/wp-load.php
@@ -9,9 +9,9 @@
* will be displayed asking the visitor to set up the
* wp-config.php file.
*
- * Also made to work in the wp-admin/ folder, because it
- * will look in the parent directory if the file is not
- * found in the current directory.
+ * Will also search for wp-config.php in WordPress' parent
+ * directory to allow the WordPress directory to remain
+ * untouched.
*
* @package WordPress
*/
@@ -43,7 +43,7 @@ if ( file_exists( ABSPATH . 'wp-config.php') ) {
require_once( ABSPATH . '/wp-includes/classes.php' );
require_once( ABSPATH . '/wp-includes/functions.php' );
require_once( ABSPATH . '/wp-includes/plugin.php' );
- wp_die("There doesn't seem to be a <code>wp-config.php</code> file. I need this before we can get started. Need more help? <a href='http://codex.wordpress.org/Editing_wp-config.php'>We got it</a>. 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='{$path}setup-config.php' class='button'>Create a Configuration File</a>", "WordPress &rsaquo; Error");
+ wp_die(sprintf(/*WP_I18N_NO_CONFIG*/"There doesn't seem to be a <code>wp-config.php</code> file. I need this before we can get started. Need more help? <a href='http://codex.wordpress.org/Editing_wp-config.php'>We got it</a>. 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>"/*/WP_I18N_NO_CONFIG*/, $path), /*WP_I18N_ERROR_TITLE*/"WordPress &rsaquo; Error"/*/WP_I18N_ERROR_TITLE*/);
}