Changeset 42235 for branches/4.3
- Timestamp:
- 11/27/2017 01:10:13 AM (9 years ago)
- Location:
- branches/4.3
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/wp-db.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.3
- Property svn:mergeinfo changed
/trunk merged: 42119-42120
- Property svn:mergeinfo changed
-
branches/4.3/src/wp-includes/wp-db.php
r42062 r42235 1837 1837 $algo = function_exists( 'hash' ) ? 'sha256' : 'sha1'; 1838 1838 // Old WP installs may not have AUTH_SALT defined. 1839 $salt = defined( 'AUTH_SALT' ) ? AUTH_SALT :rand();1839 $salt = defined( 'AUTH_SALT' ) && AUTH_SALT ? AUTH_SALT : (string) rand(); 1840 1840 1841 1841 $placeholder = '{' . hash_hmac( $algo, uniqid( $salt, true ), $salt ) . '}';
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)