Skip to content

Commit d9f1aad

Browse files
Clearly specify what this is about
1 parent 87c695e commit d9f1aad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

features/bootstrap/FeatureContext.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ public function download_wp( $subdir = '' ) {
318318

319319
public function create_config( $subdir = '' ) {
320320
$params = self::$db_settings;
321+
// Replaces all characters that are not alphanumeric or an underscore into an underscore.
321322
$params['dbprefix'] = $subdir ? preg_replace( '#[^a-zA-Z\_0-9]#', '_', $subdir ) : 'wp_';
322323

323324
$params['skip-salts'] = true;

0 commit comments

Comments
 (0)