Docs: Add missing docs for the `auth_cookie_bad_session_token` action.
See #48303 Built from https://develop.svn.wordpress.org/trunk@46598 git-svn-id: http://core.svn.wordpress.org/trunk@46395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9e2b6902b3
commit
ac6bf7666c
|
@ -676,6 +676,13 @@ if ( ! function_exists( 'wp_validate_auth_cookie' ) ) :
|
|||
|
||||
$manager = WP_Session_Tokens::get_instance( $user->ID );
|
||||
if ( ! $manager->verify( $token ) ) {
|
||||
/**
|
||||
* Fires if a bad session token is encountered.
|
||||
*
|
||||
* @since 4.0.0
|
||||
*
|
||||
* @param string[] $cookie_elements An array of data for the authentication cookie.
|
||||
*/
|
||||
do_action( 'auth_cookie_bad_session_token', $cookie_elements );
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.4-alpha-46597';
|
||||
$wp_version = '5.4-alpha-46598';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue