Fires when nonce verification fails.
Parameters
$nonce
string- The invalid nonce.
$action
string|int- The nonce action.
$user
WP_User- The current user object.
$token
string- The user’s session token.
Source
$expected = substr( wp_hash( ( $i - 1 ) . '|' . $action . '|' . $uid . '|' . $token, 'nonce' ), -12, 10 );
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.