[wp-trac] [WordPress Trac] #14191: The test() function of the cookie class does not allow session cookies

WordPress Trac wp-trac at lists.automattic.com
Sat Jul 7 04:23:51 UTC 2012


#14191: The test() function of the cookie class does not allow session cookies
-------------------------------------+---------------------
 Reporter:  mailnew2ster             |       Owner:  dd32
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  3.5
Component:  HTTP                     |     Version:  3.0
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |
-------------------------------------+---------------------
Changes (by dd32):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [21226]:
 {{{
 #!CommitTicketReference repository="" revision="21226"
 WP_HTTP: Respect that some cookies do not have an expiration time, this is
 a valid use-case that WP_HTTP_Cookie::test() should not discard, a non-
 existant expiration date simply means to let it expire at the end of the
 session. Props mailnew2ster. Fixes #14191
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14191#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list