Changes from trunk/src/wp-includes/session.php at r29635 to branches/4.0/src/wp-includes/session.php at r29761
- File:
-
- 1 edited
-
branches/4.0/src/wp-includes/session.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.0/src/wp-includes/session.php
r29635 r29761 62 62 */ 63 63 final private function hash_token( $token ) { 64 return hash( 'sha256', $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 } 65 70 } 66 71
Note: See TracChangeset
for help on using the changeset viewer.