From 2e8c823212d7c5b87e607cab6b53d070358ff3ee Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 20 Sep 2018 05:15:25 +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. Built from https://develop.svn.wordpress.org/trunk@43650 git-svn-id: http://core.svn.wordpress.org/trunk@43479 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/setup-config.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/setup-config.php b/wp-admin/setup-config.php index a7f0e96d46..ccbab40463 100644 --- a/wp-admin/setup-config.php +++ b/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; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 43194034c4..e97f37c29e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-43647'; +$wp_version = '5.0-alpha-43650'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.