WordPress.org

Make WordPress Core

Ticket #39367: 39367.1.diff

File 39367.1.diff, 558 bytes (added by danielbachhuber, 3 years ago)
  • tests/phpunit/includes/functions.php

    diff --git a/tests/phpunit/includes/functions.php b/tests/phpunit/includes/functions.php
    index 3a7c9bd..99f81f8 100644
    a b function wp_set_auth_cookie( $user_id, $remember = false, $secure = '', $token = 
    169169        $auth_cookie = null;
    170170        $expire = null;
    171171        $expiration = null;
    172         $user_id = null;
    173172        $scheme = null;
    174173        /** This action is documented in wp-inclues/pluggable.php */
    175174        do_action( 'set_auth_cookie', $auth_cookie, $expire, $expiration, $user_id, $scheme );