From e9eaabaf1470f07df7d82ab6344ea7bc66155d1f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 20 Sep 2018 05:14:21 +0000 Subject: [PATCH] Upgrade/Install: Adjust table prefix string check in `setup-config.php` for the coding standards change in [42343]. Props shashwatmittal, allendav. Fixes #44318. git-svn-id: https://develop.svn.wordpress.org/trunk@43650 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/setup-config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/setup-config.php b/src/wp-admin/setup-config.php index a7f0e96d46..ccbab40463 100644 --- a/src/wp-admin/setup-config.php +++ b/src/wp-admin/setup-config.php @@ -347,8 +347,8 @@ switch ( $step ) { $key = 0; foreach ( $config_file as $line_num => $line ) { - if ( '$table_prefix =' == substr( $line, 0, 16 ) ) { - $config_file[ $line_num ] = '$table_prefix = \'' . addcslashes( $prefix, "\\'" ) . "';\r\n"; + if ( '$table_prefix =' == substr( $line, 0, 16 ) ) { + $config_file[ $line_num ] = '$table_prefix = \'' . addcslashes( $prefix, "\\'" ) . "';\r\n"; continue; }