[wp-trac] [WordPress Trac] #13839: Configuration script does not allow apostrophes, blank prefixes
WordPress Trac
wp-trac at lists.automattic.com
Fri Jun 11 00:59:23 UTC 2010
#13839: Configuration script does not allow apostrophes, blank prefixes
----------------------------+-----------------------------------------------
Reporter: incaren | Owner:
Type: defect (bug) | Status: new
Priority: low | Milestone: Unassigned
Component: Administration | Version: 2.9.2
Severity: trivial | Keywords:
----------------------------+-----------------------------------------------
When using the wp-admin/setup-config.php to create a configuration file
automatically, the following do not work properly:
1. Using a MySQL username with an apostrophe.
2. Using a MySQL password with an apostrophe.
3. Using a blank prefix.
The expected outcomes is that Wordpress:
1. Runs
2. Uses tables with no prefix (not swp)
The actual outcome is that the configuration file has errors due to
unclosed apostrophes, and the tables created start with wp_. Adding
addslashes() to certain statements and removing
Line 152:
{{{
if (empty($prefix)) $prefix = 'wp_';
}}}
would correct this.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13839>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list