diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index 141e86a35f..ac308a9966 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -1325,8 +1325,6 @@ if ( !function_exists('wp_salt') ) : * @return string Salt value */ function wp_salt( $scheme = 'auth' ) { - global $wp_secret_key_default; // This is set for localized builds for versions > 3.4.0. - static $cached_salts = array(); if ( isset( $cached_salts[ $scheme ] ) ) return apply_filters( 'salt', $cached_salts[ $scheme ], $scheme ); @@ -1342,8 +1340,6 @@ function wp_salt( $scheme = 'auth' ) { $duplicated_keys[ $value ] = isset( $duplicated_keys[ $value ] ); } } - if ( ! empty( $wp_secret_key_default ) ) - $duplicated_keys[ $wp_secret_key_default ] = true; } $key = $salt = '';