[wp-trac] [WordPress Trac] #46618: Change login behaviour to only set the test cookie when a user attempts to login instead of just on visiting the login page
WordPress Trac
noreply at wordpress.org
Tue Mar 26 07:44:01 UTC 2019
#46618: Change login behaviour to only set the test cookie when a user attempts to
login instead of just on visiting the login page
------------------------------------+----------------------------------
Reporter: garrett-eclipse | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version:
Severity: normal | Resolution:
Keywords: needs-patch close | Focuses: javascript, privacy
------------------------------------+----------------------------------
Changes (by ocean90):
* keywords: needs-patch => needs-patch close
Comment:
Hmm, the cookie needs to be set before otherwise it cannot be used for …
testing. That's because `$_COOKIE` is only populated with the data during
the initial page request.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46618#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list