Make WordPress Core

Ticket #53377: 53377.2.patch

File 53377.2.patch, 3.2 KB (added by sabernhardt, 3 years ago)

matching zero or more spaces

  • parameters.xml

     
    7575        />
    7676<parameter
    7777        name="Automatic Database Server PHP File"
    78         defaultValue="define('DB_HOST', '{DbServer}');"
     78        defaultValue="define( 'DB_HOST', '{DbServer}' );"
    7979        tags="Hidden, MySQL"
    8080        >
    8181        <parameterEntry
    8282        type="TextFile"
    83         scope="wp-config.php$"
    84         match="define\('DB_HOST', '[^']*'\);"
     83        scope="wp-config\.php$"
     84        match="define\(\s*'DB_HOST',\s*'[^']*'\s*\);"
    8585        />
    8686</parameter>
    8787
     
    100100</parameter>
    101101<parameter
    102102        name="Automatic Database Name PHP File"
    103         defaultValue="define('DB_NAME', '{DbName}');"
     103        defaultValue="define( 'DB_NAME', '{DbName}' );"
    104104        tags="Hidden, MySQL"
    105105        >
    106106        <parameterEntry
    107107        type="TextFile"
    108         scope="wp-config.php$"
    109         match="define\('DB_NAME', '[^']*'\);"
     108        scope="wp-config\.php$"
     109        match="define\(\s*'DB_NAME',\s*'[^']*'\s*\);"
    110110        />
    111111</parameter>
    112112
     
    136136        >
    137137        <parameterEntry
    138138        type="TextFile"
    139         scope="wp-config.php$"
    140         match="define\('DB_USER', '[^']*'\);"
     139        scope="wp-config\.php$"
     140        match="define\(\s*'DB_USER',\s*'[^']*'\s*\);"
    141141        />
    142142</parameter>
    143143
     
    160160        >
    161161        <parameterEntry
    162162        type="TextFile"
    163         scope="wp-config.php$"
    164         match="define\('DB_PASSWORD', '[^']*'\);"
     163        scope="wp-config\.php$"
     164        match="define\(\s*'DB_PASSWORD',\s*'[^']*'\s*\);"
    165165        />
    166166</parameter>
    167167
     
    242242        >
    243243        <parameterEntry
    244244                type="TextFile"
    245                 scope="wp-config.php$"
    246                 match="define\('AUTH_KEY',\s*'[^']*'\);"
     245                scope="wp-config\.php$"
     246                match="define\(\s*'AUTH_KEY',\s*'[^']*'\s*\);"
    247247                />
    248248</parameter>
    249249
     
    267267        >
    268268        <parameterEntry
    269269                type="TextFile"
    270                 scope="wp-config.php$"
    271                 match="define\('SECURE_AUTH_KEY',\s*'[^']*'\);"
     270                scope="wp-config\.php$"
     271                match="define\(\s*'SECURE_AUTH_KEY',\s*'[^']*'\s*\);"
    272272                />
    273273</parameter>
    274274
     
    292292        >
    293293        <parameterEntry
    294294                type="TextFile"
    295                 scope="wp-config.php$"
    296                 match="define\('LOGGED_IN_KEY',\s*'[^']*'\);"
     295                scope="wp-config\.php$"
     296                match="define\(\s*'LOGGED_IN_KEY',\s*'[^']*'\s*\);"
    297297                />
    298298</parameter>
    299299
     
    317317        >
    318318        <parameterEntry
    319319                type="TextFile"
    320                 scope="wp-config.php$"
    321                 match="define\('NONCE_KEY',\s*'[^']*'\);"
     320                scope="wp-config\.php$"
     321                match="define\(\s*'NONCE_KEY',\s*'[^']*'\s*\);"
    322322                />
    323323</parameter>
    324324
     
    342342        >
    343343        <parameterEntry
    344344                type="TextFile"
    345                 scope="wp-config.php$"
    346                 match="define\('AUTH_SALT',\s*'[^']*'\);"
     345                scope="wp-config\.php$"
     346                match="define\(\s*'AUTH_SALT',\s*'[^']*'\s*\);"
    347347                />
    348348</parameter>
    349349
     
    367367        >
    368368        <parameterEntry
    369369                type="TextFile"
    370                 scope="wp-config.php$"
    371                 match="define\('SECURE_AUTH_SALT',\s*'[^']*'\);"
     370                scope="wp-config\.php$"
     371                match="define\(\s*'SECURE_AUTH_SALT',\s*'[^']*'\s*\);"
    372372                />
    373373</parameter>
    374374
     
    392392        >
    393393        <parameterEntry
    394394                type="TextFile"
    395                 scope="wp-config.php$"
    396                 match="define\('LOGGED_IN_SALT',\s*'[^']*'\);"
     395                scope="wp-config\.php$"
     396                match="define\(\s*'LOGGED_IN_SALT',\s*'[^']*'\s*\);"
    397397                />
    398398</parameter>
    399399
     
    417417        >
    418418        <parameterEntry
    419419                type="TextFile"
    420                 scope="wp-config.php$"
    421                 match="define\('NONCE_SALT',\s*'[^']*'\);"
     420                scope="wp-config\.php$"
     421                match="define\(\s*'NONCE_SALT',\s*'[^']*'\s*\);"
    422422                />
    423423</parameter>
    424424