From 80167f26b17de7b21ee4bd363e6856a866e0cb97 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 22 Feb 2025 01:50:19 +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. Built from https://develop.svn.wordpress.org/trunk@59858 git-svn-id: http://core.svn.wordpress.org/trunk@59200 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/pluggable.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index 0ee5891c96..3a6190beff 100644 --- a/wp-includes/pluggable.php +++ b/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 * diff --git a/wp-includes/version.php b/wp-includes/version.php index acf4aae238..e963aa3a71 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59857'; +$wp_version = '6.8-alpha-59858'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.