WordPress.org

Make WordPress Core

Changeset 44738


Ignore:
Timestamp:
02/12/2019 04:51:12 PM (2 years ago)
Author:
ocean90
Message:

Upgrade/Install: Update character count for the $table_prefix config line after [43650] and [42343].

Fixes #46220.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/setup-config.php

    r44545 r44738  
    350350        $key = 0;
    351351        foreach ( $config_file as $line_num => $line ) {
    352             if ( '$table_prefix =' == substr( $line, 0, 16 ) ) {
     352            if ( '$table_prefix =' == substr( $line, 0, 15 ) ) {
    353353                $config_file[ $line_num ] = '$table_prefix = \'' . addcslashes( $prefix, "\\'" ) . "';\r\n";
    354354                continue;
Note: See TracChangeset for help on using the changeset viewer.