Firefox + setcookie() + WordPress = wrong cookie data
|Reported by:||obscurecloud||Owned by:|
Description (last modified by SergeyBiryukov)
Just pointing out an interesting issue I ran into with WordPress.
While this is not normal usage, I have a template that includes the PHP function setcookie().
Firefox parses the adjacent post link in the head of the document.
In this situation, it caused the cookie data to be incorrect. It was set to the next page's data and not the page currently being viewed.
Change History (2)
comment:1 SergeyBiryukov — 2 years ago
- Description modified (diff)
- Summary changed from Firefox + setcookie() + Wordpress = wrong cookie data to Firefox + setcookie() + WordPress = wrong cookie data