[wp-trac] [WordPress Trac] #29641: Password protected posts not working - secure cookie flag

WordPress Trac noreply at wordpress.org
Tue Oct 6 00:39:05 UTC 2015


#29641: Password protected posts not working - secure cookie flag
------------------------------------+--------------------------
 Reporter:  bajro                   |       Owner:  johnbillion
     Type:  defect (bug)            |      Status:  accepted
 Priority:  normal                  |   Milestone:  4.4
Component:  Login and Registration  |     Version:  4.0
 Severity:  normal                  |  Resolution:
 Keywords:  needs-patch             |     Focuses:
------------------------------------+--------------------------
Changes (by johnbillion):

 * keywords:   => needs-patch
 * owner:   => johnbillion
 * status:  new => accepted
 * milestone:  Awaiting Review => 4.4


Comment:

 The solution here is actually to set the `secure` flag based on the scheme
 of the referer, as that's where the user is redirected to after entering
 their post password.

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


More information about the wp-trac mailing list