Skip to content

Commit 1152b1a

Browse files
Docs: Correct the note on default nonce lifespan in wp_verify_nonce() description.
Follow-up to [31381], [45565]. Props lev0, Rarst, peterwilsoncc, johnbillion. Fixes #53236. git-svn-id: https://develop.svn.wordpress.org/trunk@59858 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 854c9d4 commit 1152b1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/pluggable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2356,7 +2356,7 @@ function wp_nonce_tick( $action = -1 ) {
23562356
/**
23572357
* Verifies that a correct security nonce was used with time limit.
23582358
*
2359-
* A nonce is valid for 24 hours (by default).
2359+
* A nonce is valid for between 12 and 24 hours (by default).
23602360
*
23612361
* @since 2.0.3
23622362
*

0 commit comments

Comments
 (0)