Make WordPress Core

Ticket #57121: 57121.diff

File 57121.diff, 1.3 KB (added by SergeyBiryukov, 2 years ago)
  • src/wp-includes/pluggable.php

     
    24042404                static $duplicated_keys;
    24052405                if ( null === $duplicated_keys ) {
    24062406                        $duplicated_keys = array(
    2407                                 'put your unique phrase here'       => true,
    2408                                 /*
    2409                                  * translators: This string should only be translated if wp-config-sample.php is localized.
    2410                                  * You can check the localized release package or
    2411                                  * https://i18n.svn.wordpress.org/<locale code>/branches/<wp version>/dist/wp-config-sample.php
    2412                                  */
    2413                                 __( 'put your unique phrase here' ) => true,
     2407                                'put your unique phrase here' => true,
    24142408                        );
     2409
     2410                        /*
     2411                         * translators: This string should only be translated if wp-config-sample.php is localized.
     2412                         * You can check the localized release package or
     2413                         * https://i18n.svn.wordpress.org/<locale code>/branches/<wp version>/dist/wp-config-sample.php
     2414                         */
     2415                        $duplicated_keys[ __( 'put your unique phrase here' ) ] = true;
     2416
    24152417                        foreach ( array( 'AUTH', 'SECURE_AUTH', 'LOGGED_IN', 'NONCE', 'SECRET' ) as $first ) {
    24162418                                foreach ( array( 'KEY', 'SALT' ) as $second ) {
    24172419                                        if ( ! defined( "{$first}_{$second}" ) ) {