[wp-trac] [WordPress Trac] #16529: Missing quotes in DB_NAME on installation
WordPress Trac
noreply at wordpress.org
Sun Jul 28 22:21:59 UTC 2013
#16529: Missing quotes in DB_NAME on installation
--------------------------+------------------------------
Reporter: beadon | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 2.3
Severity: normal | Resolution: invalid
Keywords: close |
--------------------------+------------------------------
Changes (by c3mdigital):
* keywords: has-patch close => close
* status: new => closed
* version: 3.0.4 => 2.3
* resolution: => invalid
Comment:
The str_replace is no longer being used. Currently we are doing:
$config_file[ $line_num ] = "define('" . $constant . "'," . $padding .
"'" . addcslashes( constant( $constant ), "\\'" ) . "');\r\n";
Which also preserves the single quotes.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16529#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list