WordPress.org

Make WordPress Core

Changeset 13837


Ignore:
Timestamp:
03/27/10 05:42:08 (4 years ago)
Author:
nacin
Message:

Standardize db config-sample values. fixes #11523

Location:
trunk
Files:
2 edited

Legend:

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

    r13628 r13837  
    210210        switch (substr($line,0,16)) { 
    211211            case "define('DB_NAME'": 
    212                 $configFile[$line_num] = str_replace("putyourdbnamehere", $dbname, $line); 
     212                $configFile[$line_num] = str_replace("database_name_here", $dbname, $line); 
    213213                break; 
    214214            case "define('DB_USER'": 
    215                 $configFile[$line_num] = str_replace("'usernamehere'", "'$uname'", $line); 
     215                $configFile[$line_num] = str_replace("'username_here'", "'$uname'", $line); 
    216216                break; 
    217217            case "define('DB_PASSW": 
    218                 $configFile[$line_num] = str_replace("'yourpasswordhere'", "'$passwrd'", $line); 
     218                $configFile[$line_num] = str_replace("'password_here'", "'$passwrd'", $line); 
    219219                break; 
    220220            case "define('DB_HOST'": 
  • trunk/wp-config-sample.php

    r13185 r13837  
    1717// ** MySQL settings - You can get this info from your web host ** // 
    1818/** The name of the database for WordPress */ 
    19 define('DB_NAME', 'putyourdbnamehere'); 
     19define('DB_NAME', 'database_name_here'); 
    2020 
    2121/** MySQL database username */ 
    22 define('DB_USER', 'usernamehere'); 
     22define('DB_USER', 'username_here'); 
    2323 
    2424/** MySQL database password */ 
    25 define('DB_PASSWORD', 'yourpasswordhere'); 
     25define('DB_PASSWORD', 'password_here'); 
    2626 
    2727/** MySQL hostname */ 
Note: See TracChangeset for help on using the changeset viewer.