Changeset 59803 for trunk/src/wp-includes/class-wp-session-tokens.php
- Timestamp:
- 02/11/2025 11:12:03 AM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-session-tokens.php
r54133 r59803 69 69 */ 70 70 private function hash_token( $token ) { 71 // If ext/hash is not present, use sha1() instead. 72 if ( function_exists( 'hash' ) ) { 73 return hash( 'sha256', $token ); 74 } else { 75 return sha1( $token ); 76 } 71 return hash( 'sha256', $token ); 77 72 } 78 73
Note: See TracChangeset
for help on using the changeset viewer.