Make WordPress Core

Opened 10 years ago

Last modified 10 years ago

#18980 closed defect (bug)

Firefox + setcookie() + WordPress = wrong cookie data — at Version 1

Reported by: obscurecloud Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

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 (1)

#1 @SergeyBiryukov
10 years ago

  • Description modified (diff)
  • Summary changed from Firefox + setcookie() + Wordpress = wrong cookie data to Firefox + setcookie() + WordPress = wrong cookie data
Note: See TracTickets for help on using tickets.