wahabmirjan / wp-simple-nonce

A very simple NONCE for WordPress developers.
GNU General Public License v2.0
38 stars 11 forks source link

Nonce Will be Invalid Unless Used Immediately #3

Closed zaclittleberry closed 5 years ago

zaclittleberry commented 7 years ago

The storeNonce and fetchNonce functions both add 86400 seconds to time() when creating and checking the expiry time (respectively). This leads to the difference being negated and the nonce being invalid immediately after it was made.

Pull request (#2) from KTOmega fixes this issue.

wahabmirjan commented 5 years ago

Resolved.