diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index 76babe3f23..47bdafd395 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -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; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 22211aa068..fe8d6a88ec 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.