Changes from trunk/wp-includes/pluggable.php at r22566 to branches/3.5/wp-includes/pluggable.php at r24462
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.5/wp-includes/pluggable.php
r22566 r24462 1258 1258 1259 1259 // Nonce generated 0-12 hours ago 1260 if ( substr(wp_hash($i . $action . $uid, 'nonce'), -12, 10) == $nonce )1260 if ( substr(wp_hash($i . $action . $uid, 'nonce'), -12, 10) === $nonce ) 1261 1261 return 1; 1262 1262 // Nonce generated 12-24 hours ago 1263 if ( substr(wp_hash(($i - 1) . $action . $uid, 'nonce'), -12, 10) == $nonce )1263 if ( substr(wp_hash(($i - 1) . $action . $uid, 'nonce'), -12, 10) === $nonce ) 1264 1264 return 2; 1265 1265 // Invalid nonce
Note: See TracChangeset
for help on using the changeset viewer.