WordPress.org

Make WordPress Core

Changeset 5001


Ignore:
Timestamp:
03/08/07 18:31:46 (7 years ago)
Author:
matt
Message:

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.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/setup-config.php

    r4495 r5001  
    158158        switch (substr($line,0,16)) { 
    159159            case "define('DB_NAME'": 
    160                 fwrite($handle, str_replace("wordpress", $dbname, $line)); 
     160                fwrite($handle, str_replace("putyourdbnamehere", $dbname, $line)); 
    161161                break; 
    162162            case "define('DB_USER'": 
    163                 fwrite($handle, str_replace("'username'", "'$uname'", $line)); 
     163                fwrite($handle, str_replace("'usernamehere'", "'$uname'", $line)); 
    164164                break; 
    165165            case "define('DB_PASSW": 
    166                 fwrite($handle, str_replace("'password'", "'$passwrd'", $line)); 
     166                fwrite($handle, str_replace("'yourpasswordhere'", "'$passwrd'", $line)); 
    167167                break; 
    168168            case "define('DB_HOST'": 
  • trunk/wp-config-sample.php

    r4867 r5001  
    11<?php 
    22// ** MySQL settings ** // 
    3 define('DB_NAME', 'wordpress');    // The name of the database 
    4 define('DB_USER', 'username');     // Your MySQL username 
    5 define('DB_PASSWORD', 'password'); // ...and password 
     3define('DB_NAME', 'putyourdbnamehere');    // The name of the database 
     4define('DB_USER', 'usernamehere');     // Your MySQL username 
     5define('DB_PASSWORD', 'yourpasswordhere'); // ...and password 
    66define('DB_HOST', 'localhost');    // 99% chance you won't need to change this value 
    77define('DB_CHARSET', 'utf8'); 
Note: See TracChangeset for help on using the changeset viewer.