mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-25 13:52:59 +02:00
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
This commit is contained in:
parent
0fa4a52255
commit
dc8e9c6de0
@ -349,7 +349,7 @@ switch ( $step ) {
|
|||||||
|
|
||||||
$key = 0;
|
$key = 0;
|
||||||
foreach ( $config_file as $line_num => $line ) {
|
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";
|
$config_file[ $line_num ] = '$table_prefix = \'' . addcslashes( $prefix, "\\'" ) . "';\r\n";
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user