Make WordPress Core

Changeset 55260


Ignore:
Timestamp:
02/07/2023 01:51:39 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Users: Pass correct number of arguments to send_auth_cookies filter in wp_clear_auth_cookie().

Follow-up to [55164], [55253], [55259].

Props mukesh27.
See #56971.

File:
1 edited

Legend:

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

    r55259 r55260  
    10801080         * @param int    $user_id    User ID. Zero when clearing cookies.
    10811081         * @param string $scheme     Authentication scheme. Values include 'auth' or 'secure_auth'.
     1082         *                           Empty string when clearing cookies.
    10821083         * @param string $token      User's session token to use for this cookie. Empty string when clearing cookies.
    10831084         */
     
    11101111
    11111112        /** This filter is documented in wp-includes/pluggable.php */
    1112         if ( ! apply_filters( 'send_auth_cookies', true, 0, 0, 0, '' ) ) {
     1113        if ( ! apply_filters( 'send_auth_cookies', true, 0, 0, 0, '', '' ) ) {
    11131114            return;
    11141115        }
Note: See TracChangeset for help on using the changeset viewer.