WordPress.org

Make WordPress Core

Changeset 7799


Ignore:
Timestamp:
04/24/08 00:33:47 (7 years ago)
Author:
ryan
Message:

hash_hmac is always available. Drop function_exists check. For 2.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/wp-includes/pluggable.php

    r7798 r7799  
    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.