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

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 18 04:00:09 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        |   Keywords:
--------------------------+-----------------------------
 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>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list