[wp-trac] [WordPress Trac] #18980: Firefox + setcookie() + WordPress = wrong cookie data (was: Firefox + setcookie() + Wordpress = wrong cookie data)

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 18 04:10:19 UTC 2011


#18980: Firefox + setcookie() + WordPress = wrong cookie data
--------------------------+------------------------------
 Reporter:  obscurecloud  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------
Description changed by SergeyBiryukov:

Old 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.

New 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.

--

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


More information about the wp-trac mailing list