Changeset 42241 for branches/3.7
- Timestamp:
- 11/27/2017 01:14:05 AM (7 years ago)
- Location:
- branches/3.7
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.7
- Property svn:mergeinfo changed
/trunk merged: 42119-42120
- Property svn:mergeinfo changed
-
branches/3.7/src
- Property svn:mergeinfo changed
/trunk/src merged: 42119-42120
- Property svn:mergeinfo changed
-
branches/3.7/src/wp-includes/wp-db.php
r42068 r42241 1395 1395 $algo = function_exists( 'hash' ) ? 'sha256' : 'sha1'; 1396 1396 // Old WP installs may not have AUTH_SALT defined. 1397 $salt = defined( 'AUTH_SALT' ) ? AUTH_SALT :rand();1397 $salt = defined( 'AUTH_SALT' ) && AUTH_SALT ? AUTH_SALT : (string) rand(); 1398 1398 1399 1399 $placeholder = '{' . hash_hmac( $algo, uniqid( $salt, true ), $salt ) . '}';
Note: See TracChangeset
for help on using the changeset viewer.