[wp-trac] [WordPress Trac] #29294: There may be lots of 'wp-saving-post-*' left-over/stale cookies
WordPress Trac
noreply at wordpress.org
Thu Aug 21 04:24:49 UTC 2014
#29294: There may be lots of 'wp-saving-post-*' left-over/stale cookies
--------------------------+------------------
Reporter: azaozz | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.0
Component: Autosave | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------
Comment (by mdawaffe):
We discussed this outside of Trac a bit. You mentioned setting max-age as
a possible solution, but that `setcookie()` doesn't expose that
functionality.
We could keep the per-post cookie and set the max-age property with a
manual call to `header( 'Set-Cookie: ...' )`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29294#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list