From 41d644ca52b3f04655af18c68add72f8b3c1eacc Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Tue, 12 Feb 2019 16:51:12 +0000 Subject: [PATCH] Upgrade/Install: Update character count for the `$table_prefix` config line after [43650] and [42343]. Fixes #46220. git-svn-id: https://develop.svn.wordpress.org/trunk@44738 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/setup-config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/setup-config.php b/src/wp-admin/setup-config.php index 098e5d0524..7ea9d0be02 100644 --- a/src/wp-admin/setup-config.php +++ b/src/wp-admin/setup-config.php @@ -349,7 +349,7 @@ switch ( $step ) { $key = 0; foreach ( $config_file as $line_num => $line ) { - if ( '$table_prefix =' == substr( $line, 0, 16 ) ) { + if ( '$table_prefix =' == substr( $line, 0, 15 ) ) { $config_file[ $line_num ] = '$table_prefix = \'' . addcslashes( $prefix, "\\'" ) . "';\r\n"; continue; }