[wp-trac] [WordPress Trac] #16529: Fresh installation
WordPress Trac
wp-trac at lists.automattic.com
Thu Feb 10 23:46:58 UTC 2011
#16529: Fresh installation
-----------------------------+------------------------------
Reporter: beadon | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.0.4
Severity: normal | Resolution:
Keywords: has-patch close |
-----------------------------+------------------------------
Changes (by nacin):
* keywords: has-patch => has-patch close
Comment:
Note how the replacements are occurring:
{{{
$configFile[$line_num] = str_replace("database_name_here", $dbname,
$line);
$configFile[$line_num] = str_replace("'username_here'", "'$uname'",
$line);
$configFile[$line_num] = str_replace("'password_here'", "'$passwrd'",
$line);
$configFile[$line_num] = str_replace("localhost", $dbhost, $line);
}}}
The username and password find strings include the quotes, so those are
added back. This is not the case for the database and host fields. It's
awkward and I'm not sure why it's like that, but there isn't a bug here
that I can see.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16529#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list