===================================================================
--- setup-config.php (revision 15361)
+++ setup-config.php (working copy)
@@ -157,12 +157,10 @@
$passwrd = trim($_POST['pwd']);
$dbhost = trim($_POST['dbhost']);
$prefix = trim($_POST['prefix']);
- if ( empty($prefix) )
- $prefix = 'wp_';
// Validate $prefix: it can only contain letters, numbers and underscores
- if ( preg_match( '|[^a-z0-9_]|i', $prefix ) )
- wp_die( /*WP_I18N_BAD_PREFIX*/'ERROR: "Table Prefix" can only contain numbers, letters, and underscores.'/*/WP_I18N_BAD_PREFIX*/ );
+ if ( preg_match( '|[^\'a-z0-9_]|i', $prefix ) )
+ wp_die( /*WP_I18N_BAD_PREFIX*/'ERROR: "Table Prefix" can only be blank or contain numbers, letters, or underscores.'/*/WP_I18N_BAD_PREFIX*/ );
// Test the db connection.
/**#@+