[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
Wed Dec 21 20:27:44 UTC 2016
#39367: Don't no-op $user_id in test suite's wp_set_auth_cookie()
------------------------------+----------------------------
Reporter: danielbachhuber | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Build/Test Tools | Version:
Severity: normal | Keywords: dev-feedback
Focuses: |
------------------------------+----------------------------
The implementation of `wp_set_auth_cookie()` in the test suite sets
`$user_id=null`, when it should respect the `$user_id` passed to the
function.
If I pass a user id to `wp_set_auth_cookie()`, I'd expect the user id to
be then passed through to `wp_set_auth_cookie()`'s actions.
Discovered in https://github.com/pantheon-systems/wp-saml-auth/pull/48
From r39219
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39367>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list