From aeda207ddcc8ca90346519e7249b77dd48d5f865 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Thu, 8 Mar 2007 18:31:46 +0000 Subject: [PATCH] People are confusing the part they should edit with the part they shouldn't, so let's make the example values a little more self-evident. git-svn-id: https://develop.svn.wordpress.org/trunk@5001 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/setup-config.php | 6 +++--- wp-config-sample.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wp-admin/setup-config.php b/wp-admin/setup-config.php index e40ff6d6b2..2c01b4e1fc 100644 --- a/wp-admin/setup-config.php +++ b/wp-admin/setup-config.php @@ -157,13 +157,13 @@ switch($step) { foreach ($configFile as $line_num => $line) { switch (substr($line,0,16)) { case "define('DB_NAME'": - fwrite($handle, str_replace("wordpress", $dbname, $line)); + fwrite($handle, str_replace("putyourdbnamehere", $dbname, $line)); break; case "define('DB_USER'": - fwrite($handle, str_replace("'username'", "'$uname'", $line)); + fwrite($handle, str_replace("'usernamehere'", "'$uname'", $line)); break; case "define('DB_PASSW": - fwrite($handle, str_replace("'password'", "'$passwrd'", $line)); + fwrite($handle, str_replace("'yourpasswordhere'", "'$passwrd'", $line)); break; case "define('DB_HOST'": fwrite($handle, str_replace("localhost", $dbhost, $line)); diff --git a/wp-config-sample.php b/wp-config-sample.php index 42dc0648c4..6186f73fc8 100644 --- a/wp-config-sample.php +++ b/wp-config-sample.php @@ -1,8 +1,8 @@