diff --git a/src/wp-includes/pluggable.php b/src/wp-includes/pluggable.php index b755bdd851..7ac1cfc595 100644 --- a/src/wp-includes/pluggable.php +++ b/src/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.