Make WordPress Core

Changeset 33827


Ignore:
Timestamp:
08/31/2015 08:49:49 PM (9 years ago)
Author:
DrewAPicture
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/pluggable.php

    r33774 r33827  
    18321832if ( !function_exists('wp_create_nonce') ) :
    18331833/**
    1834  * Creates a cryptographic token tied to a specific action, user, and window of time.
     1834 * Creates a cryptographic token tied to a specific action, user, user session,
     1835 * and window of time.
    18351836 *
    18361837 * @since 2.0.3
     1838 * @since 4.0.0 Session tokens were integrated with nonce creation
    18371839 *
    18381840 * @param string|int $action Scalar value to add context to the nonce.
Note: See TracChangeset for help on using the changeset viewer.