WordPress.org

Make WordPress Core

Changeset 46598


Ignore:
Timestamp:
10/26/2019 11:44:02 PM (2 years ago)
Author:
johnbillion
Message:

Docs: Add missing docs for the auth_cookie_bad_session_token action.

See #48303

File:
1 edited

Legend:

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

    r46596 r46598  
    677677        $manager = WP_Session_Tokens::get_instance( $user->ID );
    678678        if ( ! $manager->verify( $token ) ) {
     679            /**
     680             * Fires if a bad session token is encountered.
     681             *
     682             * @since 4.0.0
     683             *
     684             * @param string[] $cookie_elements An array of data for the authentication cookie.
     685             */
    679686            do_action( 'auth_cookie_bad_session_token', $cookie_elements );
    680687            return false;
Note: See TracChangeset for help on using the changeset viewer.