Changeset 24461 for trunk/wp-includes/pluggable.php
- Timestamp:
- 06/21/2013 02:11:31 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pluggable.php
r23814 r24461 1260 1260 1261 1261 // Nonce generated 0-12 hours ago 1262 if ( substr(wp_hash($i . $action . $uid, 'nonce'), -12, 10) == $nonce )1262 if ( substr(wp_hash($i . $action . $uid, 'nonce'), -12, 10) === $nonce ) 1263 1263 return 1; 1264 1264 // Nonce generated 12-24 hours ago 1265 if ( substr(wp_hash(($i - 1) . $action . $uid, 'nonce'), -12, 10) == $nonce )1265 if ( substr(wp_hash(($i - 1) . $action . $uid, 'nonce'), -12, 10) === $nonce ) 1266 1266 return 2; 1267 1267 // Invalid nonce
Note: See TracChangeset
for help on using the changeset viewer.