From 8091c83b26a9c601d7af17bd01fb67ac709c6d46 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sat, 27 Mar 2010 05:42:08 +0000 Subject: [PATCH] Standardize db config-sample values. fixes #11523 git-svn-id: https://develop.svn.wordpress.org/trunk@13837 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 8920c67b89..98618900cb 100644 --- a/wp-admin/setup-config.php +++ b/wp-admin/setup-config.php @@ -209,13 +209,13 @@ switch($step) { foreach ($configFile as $line_num => $line) { switch (substr($line,0,16)) { case "define('DB_NAME'": - $configFile[$line_num] = str_replace("putyourdbnamehere", $dbname, $line); + $configFile[$line_num] = str_replace("database_name_here", $dbname, $line); break; case "define('DB_USER'": - $configFile[$line_num] = str_replace("'usernamehere'", "'$uname'", $line); + $configFile[$line_num] = str_replace("'username_here'", "'$uname'", $line); break; case "define('DB_PASSW": - $configFile[$line_num] = str_replace("'yourpasswordhere'", "'$passwrd'", $line); + $configFile[$line_num] = str_replace("'password_here'", "'$passwrd'", $line); break; case "define('DB_HOST'": $configFile[$line_num] = str_replace("localhost", $dbhost, $line); diff --git a/wp-config-sample.php b/wp-config-sample.php index 967c90a844..135ab0547b 100644 --- a/wp-config-sample.php +++ b/wp-config-sample.php @@ -16,13 +16,13 @@ // ** MySQL settings - You can get this info from your web host ** // /** The name of the database for WordPress */ -define('DB_NAME', 'putyourdbnamehere'); +define('DB_NAME', 'database_name_here'); /** MySQL database username */ -define('DB_USER', 'usernamehere'); +define('DB_USER', 'username_here'); /** MySQL database password */ -define('DB_PASSWORD', 'yourpasswordhere'); +define('DB_PASSWORD', 'password_here'); /** MySQL hostname */ define('DB_HOST', 'localhost');