WordPress.org

Make WordPress Core

Opened 10 years ago

Last modified 10 years ago

#18980 closed defect (bug)

Firefox + setcookie() + Wordpress = wrong cookie data — at Initial Version

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

Description

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

Note: See TracTickets for help on using tickets.