WordPress.org

Make WordPress Core

Changeset 28793


Ignore:
Timestamp:
06/20/2014 08:46:13 PM (7 years ago)
Author:
nacin
Message:

Fix documentation for wp_create_nonce() which wrongly suggests these tokens are actually numbers used once.

File:
1 edited

Legend:

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

    r28741 r28793  
    16981698if ( !function_exists('wp_create_nonce') ) :
    16991699/**
    1700  * Creates a random, one time use token.
     1700 * Creates a cryptographic token tied to a specific action, user, and window of time.
    17011701 *
    17021702 * @since 2.0.3
    17031703 *
    1704  * @param string|int $action Scalar value to add context to the nonce.
    1705  * @return string The one use form token
     1704 * @param string $action Scalar value to add context to the nonce.
     1705 * @return string The token.
    17061706 */
    17071707function wp_create_nonce($action = -1) {
Note: See TracChangeset for help on using the changeset viewer.