Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #38066


Ignore:
Timestamp:
09/15/2016 10:52:06 AM (8 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #38066

    • Property Component changed from General to I18N
  • Ticket #38066 – Description

    initial v1  
    11In Polish version 4.6.1-pl_PL in file wp-config-sample.php in MySQL settings section all definitions have additional space after define(
    2 
     2{{{
    33define( 'DB_NAME', 'nazwa_bazy_danych' );
    44define( 'DB_USER', 'nazwa_uzytkownika' );
     
    77define( 'DB_CHARSET', 'utf8' );
    88define( 'DB_COLLATE', '' );
    9 
     9}}}
    1010During installation this produces wp-config.php with no MySQL settings, because in wp-admin/setup-config.php preg_match pattern have no space:
    11 
     11{{{
    1212if ( ! preg_match( '/^define\(\'([A-Z_]+)\',([ ]+)/', $line, $match ) )
    13 
     13}}}
    1414After deleting this additional spaces installation works normal.