[wp-testers] 2.0.6 RC2
Mark Jaquith
mark.wordpress at txfx.net
Fri Dec 29 00:16:02 GMT 2006
On Dec 28, 2006, at 1:59 PM, Pål Grønås Drange wrote:
> I think this can be fixed by using backticks, but maybe it's best
> if the user isn't allowed using dashes in the prefix at all.
It says which characters are allowed in wp-config.php
> // Only numbers, letters, and underscores please!
We could sanitize it, I guess.
$table_prefix = preg_replace('|[^0-9a-z_]|i', '_', $table_prefix);
Somewhere at the top of wp-settings.php
--
Mark Jaquith
http://markjaquith.com/
Covered Web Services
http://covered.be/
More information about the wp-testers
mailing list