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
This commit is contained in:
Dominik Schilling (ocean90) 2019-02-12 16:51:12 +00:00
parent 83275aab4c
commit 41d644ca52
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}