WordPress.org

Make WordPress Core

Changeset 7797


Ignore:
Timestamp:
04/24/08 00:30:49 (6 years ago)
Author:
ryan
Message:

hash_hmac is always available. Drop function_exists check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/pluggable.php

    r7796 r7797  
    10721072    $salt = wp_salt(); 
    10731073 
    1074     if ( function_exists('hash_hmac') ) { 
    1075         return hash_hmac('md5', $data, $salt); 
    1076     } else { 
    1077         return md5($data . $salt); 
    1078     } 
     1074    return hash_hmac('md5', $data, $salt); 
    10791075} 
    10801076endif; 
Note: See TracChangeset for help on using the changeset viewer.