auth_cookie_bad_username, $cookie_elements

auth_cookie_bad_username, $cookie_elements

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: 7.0.3

do_action('auth_cookie_bad_username, $cookie_elements') is found 1 times:

  • /wp-includes/pluggable.php line 851
    			 *     @type string $hmac       The security hash for the cookie.
    			 *     @type string $scheme     The cookie scheme to use.
    			 * }
    			 */
    			do_action( 'auth_cookie_bad_username', $cookie_elements );
    			return false;
    		}
    
    		if ( str_starts_with( $user->user_pass, '$P$' ) || str_starts_with( $user->user_pass, '$2y$' ) ) {
    			// Retain previous behaviour of phpass or vanilla bcrypt hashed passwords.
    			$pass_frag = substr( $user->user_pass, 8, 4 );