Changeset 24462
- Timestamp:
- 06/21/2013 02:15:55 AM (12 years ago)
- Location:
- branches/3.5
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
wp-includes/pluggable.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.5
-
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.