Make WordPress Core

Changeset 43650


Ignore:
Timestamp:
09/20/2018 05:14:21 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Upgrade/Install: Adjust table prefix string check in setup-config.php for the coding standards change in [42343].

Props shashwatmittal, allendav.
Fixes #44318.

File:
1 edited

Legend:

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

    r43571 r43650  
    348348        $key = 0;
    349349        foreach ( $config_file as $line_num => $line ) {
    350             if ( '$table_prefix  =' == substr( $line, 0, 16 ) ) {
    351                 $config_file[ $line_num ] = '$table_prefix  = \'' . addcslashes( $prefix, "\\'" ) . "';\r\n";
     350            if ( '$table_prefix =' == substr( $line, 0, 16 ) ) {
     351                $config_file[ $line_num ] = '$table_prefix = \'' . addcslashes( $prefix, "\\'" ) . "';\r\n";
    352352                continue;
    353353            }
Note: See TracChangeset for help on using the changeset viewer.