WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/session.php

    r29761 r29635  
    6262     */
    6363    final private function hash_token( $token ) {
    64         // If ext/hash is not present, use sha1() instead.
    65         if ( function_exists( 'hash' ) ) {
    66             return hash( 'sha256', $token );
    67         } else {
    68             return sha1( $token );
    69         }
     64        return hash( 'sha256', $token );
    7065    }
    7166
Note: See TracChangeset for help on using the changeset viewer.