Changeset 42234 for branches/4.4
- Timestamp:
- 11/27/2017 01:09:38 AM (7 years ago)
- Location:
- branches/4.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.4
- Property svn:mergeinfo changed
/trunk merged: 42119-42120
- Property svn:mergeinfo changed
-
branches/4.4/src/wp-includes/wp-db.php
r42061 r42234 1897 1897 $algo = function_exists( 'hash' ) ? 'sha256' : 'sha1'; 1898 1898 // Old WP installs may not have AUTH_SALT defined. 1899 $salt = defined( 'AUTH_SALT' ) ? AUTH_SALT :rand();1899 $salt = defined( 'AUTH_SALT' ) && AUTH_SALT ? AUTH_SALT : (string) rand(); 1900 1900 1901 1901 $placeholder = '{' . hash_hmac( $algo, uniqid( $salt, true ), $salt ) . '}';
Note: See TracChangeset
for help on using the changeset viewer.