From dc8e9c6de0df706fee45bc82ac26cbc4fbcb8a7f Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Tue, 12 Feb 2019 16:52:53 +0000 Subject: [PATCH] Upgrade/Install: Update character count for the `$table_prefix` config line after [43650] and [42343]. Fixes #46220. Built from https://develop.svn.wordpress.org/trunk@44738 git-svn-id: http://core.svn.wordpress.org/trunk@44570 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/setup-config.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/setup-config.php b/wp-admin/setup-config.php index 098e5d0524..7ea9d0be02 100644 --- a/wp-admin/setup-config.php +++ b/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; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 8ed6531b45..fa6f779c48 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.1-RC1-44737'; +$wp_version = '5.1-RC1-44738'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.