[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
Mon Mar 25 06:24:11 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:                          |     Focuses:  javascript, privacy
------------------------------------+----------------------------------

Comment (by Clorith):

 If the check isn't done till after (I thought we did it earlier, so my
 apologies if that's not the case), we could just redo the logic to logging
 in, and if `is_user_logged_in` says "no" when a valid login is provided,
 we know the cookie isn't setting and can act accordingly.

 Adding checkboxes to declare cookie consent on login pages adds complexity
 for the end user, and isn't required from my understanding, because it's
 implied that there exists an item to maintain your login session in such a
 scenario.

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


More information about the wp-trac mailing list