From 1152b1a440fb306948ec63c297b6cf45ccbfc844 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 22 Feb 2025 01:48:40 +0000 Subject: [PATCH] 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 --- src/wp-includes/pluggable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/pluggable.php b/src/wp-includes/pluggable.php index 0ee5891c96..3a6190beff 100644 --- a/src/wp-includes/pluggable.php +++ b/src/wp-includes/pluggable.php @@ -2356,7 +2356,7 @@ if ( ! function_exists( 'wp_verify_nonce' ) ) : /** * Verifies that a correct security nonce was used with time limit. * - * A nonce is valid for 24 hours (by default). + * A nonce is valid for between 12 and 24 hours (by default). * * @since 2.0.3 *