diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index 22b8b294c0..8a205cdfca 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -1071,11 +1071,7 @@ if ( !function_exists('wp_hash') ) : function wp_hash($data) { $salt = wp_salt(); - if ( function_exists('hash_hmac') ) { - return hash_hmac('md5', $data, $salt); - } else { - return md5($data . $salt); - } + return hash_hmac('md5', $data, $salt); } endif;