diff --git a/src/wp-includes/pluggable.php b/src/wp-includes/pluggable.php index da637ebbcfefc..cc16e8c8bde37 100644 --- a/src/wp-includes/pluggable.php +++ b/src/wp-includes/pluggable.php @@ -2479,16 +2479,7 @@ function wp_salt( $scheme = 'auth' ) { static $duplicated_keys; if ( null === $duplicated_keys ) { - $duplicated_keys = array( - 'put your unique phrase here' => true, - ); - - /* - * translators: This string should only be translated if wp-config-sample.php is localized. - * You can check the localized release package or - * https://i18n.svn.wordpress.org//branches//dist/wp-config-sample.php - */ - $duplicated_keys[ __( 'put your unique phrase here' ) ] = true; + $duplicated_keys = array(); foreach ( array( 'AUTH', 'SECURE_AUTH', 'LOGGED_IN', 'NONCE', 'SECRET' ) as $first ) { foreach ( array( 'KEY', 'SALT' ) as $second ) { @@ -2499,6 +2490,15 @@ function wp_salt( $scheme = 'auth' ) { $duplicated_keys[ $value ] = isset( $duplicated_keys[ $value ] ); } } + + $duplicated_keys['put your unique phrase here'] = true; + + /* + * translators: This string should only be translated if wp-config-sample.php is localized. + * You can check the localized release package or + * https://i18n.svn.wordpress.org//branches//dist/wp-config-sample.php + */ + $duplicated_keys[ __( 'put your unique phrase here' ) ] = true; } /*