diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index 8b9cdb0e41..48027a8470 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -1270,6 +1270,9 @@ function wp_salt($scheme = 'auth') { update_option('logged_in_salt', $salt); } } + } else { + // ensure each auth scheme has its own unique salt + $salt = hash_hmac('md5', $scheme, $secret_key); } return apply_filters('salt', $secret_key . $salt, $scheme);