From cf7694717b89ccac25159bd937f6ce7d82ecacb0 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 31 Aug 2015 20:50:20 +0000 Subject: [PATCH] Docs: Clarify the DocBlock summary for `wp_create_nonce()` to mention that nonce-creation is also now dependent on user tokens, as of [29221]. Also adds a changelog entry for when user tokens were introduced into the nonce-creation process. Props ericlewis Fixes #33636. Built from https://develop.svn.wordpress.org/trunk@33827 git-svn-id: http://core.svn.wordpress.org/trunk@33795 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/pluggable.php | 4 +++- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index b755bdd851..7ac1cfc595 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -1831,9 +1831,11 @@ endif; if ( !function_exists('wp_create_nonce') ) : /** - * Creates a cryptographic token tied to a specific action, user, and window of time. + * Creates a cryptographic token tied to a specific action, user, user session, + * and window of time. * * @since 2.0.3 + * @since 4.0.0 Session tokens were integrated with nonce creation * * @param string|int $action Scalar value to add context to the nonce. * @return string The token. diff --git a/wp-includes/version.php b/wp-includes/version.php index 58a2b21705..b325ceb79a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-33826'; +$wp_version = '4.4-alpha-33827'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.