[wp-trac] [WordPress Trac] #39367: Don't no-op $user_id in test suite's wp_set_auth_cookie()

WordPress Trac noreply at wordpress.org
Tue Jan 31 08:45:13 UTC 2023


#39367: Don't no-op $user_id in test suite's wp_set_auth_cookie()
-----------------------------------+--------------------------
 Reporter:  danielbachhuber        |       Owner:  johnbillion
     Type:  defect (bug)           |      Status:  closed
 Priority:  normal                 |   Milestone:  4.7.4
Component:  Build/Test Tools       |     Version:  4.7
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  has-patch fixed-major  |     Focuses:
-----------------------------------+--------------------------

Comment (by audrasjb):

 In [changeset:"55164" 55164]:
 {{{
 #!CommitTicketReference repository="" revision="55164"
 Users: Add context to the `send_auth_cookies` filter.

 This changeset adds `$user_id`, `$expire`, `$expiration` and `$token`
 parameters to provide context to `send_auth_cookies` hook, which allows
 the filter to skip sending auth cookies.

 Props dd32, mukesh27, costdev, peterwilsoncc, audrasjb.
 Fixes #56971.
 See #39367.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/39367#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list